JanusGraph / JanusGraph/janusgraph
bothE().has(label, within([])) does not filter out edges
Open
Nobody has claimed this yet.
kind/bug/possible
- Dominant language
- Java
- Stars
- 5.8k
- Forks
- 1.2k
- Avg merge
- 13h 53m
- Merged PRs (30d)
- 6
Description
On janusgraph 2.1.1
1) `g.E().has(label, within([]))` returns 0 edges as it should
2) `g.V().bothE().has(label, within([]))` returns all the edges
We expect all the edges to be filtered out in case 2 as well.
Is this a bug of janusGraph?
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 by reproducing the two queries from the issue on JanusGraph 2.1.1 and compare their results. The work is done when both g.E().has(label, within([])) and g.V().bothE().has(label, within([])) return zero edges, with a regression check for the reported traversal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100