JanusGraph / JanusGraph/janusgraph
HasId query returns nothing when nested
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 5.8k
- Forks
- 1.2k
- Avg merge
- 13h 53m
- Merged PRs (30d)
- 6
Description
This is another bug I found when fixing this issue. What happens is when you have a hasId query nested in an Or clause, the hasId query always returns empty result. I can reproduce the bug on the master branch. Since this is an unrelated bug, I'd like to create a new issue for it.
Originally posted by @li-boxuan in https://github.com/JanusGraph/janusgraph/pull/3055#discussion_r881078165
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start on the master branch and reproduce the failure with a hasId query nested inside an Or clause. Trace the query path responsible for that combination and determine why it produces an empty result. Done means the nested query returns the expected results and the regression is covered by a test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100