-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug in quering with joint labels #456
Conversation
Codecov Report
@@ Coverage Diff @@
## master #456 +/- ##
============================================
+ Coverage 68.96% 69.01% +0.04%
- Complexity 3273 3281 +8
============================================
Files 208 208
Lines 16146 16159 +13
Branches 2321 2325 +4
============================================
+ Hits 11135 11152 +17
+ Misses 3768 3762 -6
- Partials 1243 1245 +2
Continue to review full report at Codecov.
|
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/query/ConditionQuery.java
Outdated
Show resolved
Hide resolved
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/query/ConditionQuery.java
Outdated
Show resolved
Hide resolved
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/query/ConditionQuery.java
Outdated
Show resolved
Hide resolved
hugegraph-test/src/main/java/com/baidu/hugegraph/core/VertexCoreTest.java
Show resolved
Hide resolved
hugegraph-test/src/main/java/com/baidu/hugegraph/core/VertexCoreTest.java
Show resolved
Hide resolved
hugegraph-core/src/main/java/com/baidu/hugegraph/traversal/optimize/TraversalUtil.java
Outdated
Show resolved
Hide resolved
hugegraph-test/src/main/java/com/baidu/hugegraph/core/VertexCoreTest.java
Show resolved
Hide resolved
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/query/ConditionQuery.java
Outdated
Show resolved
Hide resolved
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/query/ConditionQuery.java
Outdated
Show resolved
Hide resolved
public boolean hasDuplicateKeys(Set<HugeKeys> keys) { | ||
Map<HugeKeys, Integer> keyCounts = new HashMap<>(); | ||
for (Condition condition : this.conditions()) { | ||
if (!condition.isRelation()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All conditions should be relations. Check them.
Change-Id: I41d63884fed05c59d03daffa0d7b7b0851a869e1
Change-Id: Id47034ec856815e3835d325cc1f4dd0a02177b0f
Change-Id: Ia2a700a5f7adad2af62a7d77def3f23c6b87beed
Change-Id: I03392f3af3d6cb819d22fb7f86971834877db52f
77829be
to
16b4ea3
Compare
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/query/ConditionQuery.java
Outdated
Show resolved
Hide resolved
Change-Id: I21c8b767784fe68487b334ba4d9cb4ddcc53a306
b4ff14e
to
fe48ef4
Compare
Change-Id: I41d63884fed05c59d03daffa0d7b7b0851a869e1