You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cypher parser rejects zero-hop open range *0.. variable-length relationships #983
The Cypher parser currently rejects zero-hop open-range variable-length relationship syntax like *0.., which is needed for official LDBC SNB Interactive IS2-style queries.
changed the title [-]Cypher parser rejects zero-hop open range variable-length relationships[/-][+]Cypher parser rejects zero-hop open range `*0..` variable-length relationships[/+]on Mar 30, 2026
MATCH (tag:Tag)-[:HAS_TYPE|IS_SUBCLASS_OF*0..]->(baseTagClass:TagClass)
So the earlier improvement after #984 does not appear to fully close the zero-hop open-range family. The relationship-alternation form [:HAS_TYPE|IS_SUBCLASS_OF*0..] is still benchmark-blocking.
Current measured status for interactive-complex-12:
GFQL: partial via local tag-class-expanded reply aggregation workaround under #880
Activity
[-]Cypher parser rejects zero-hop open range variable-length relationships[/-][+]Cypher parser rejects zero-hop open range `*0..` variable-length relationships[/+]feat(cypher): support *0.. open-range variable-length relationships (#…
feat(cypher): support *0.. open-range variable-length relationships (#…
lmeyerov commentedon Mar 31, 2026
Another measured SNB manifestation from
pyg-benchon 2026-03-31:LDBC SNB Interactiveinteractive-complex-12(Expert search) still fails on direct Cypher with:The relevant official pattern is:
So the earlier improvement after
#984does not appear to fully close the zero-hop open-range family. The relationship-alternation form[:HAS_TYPE|IS_SUBCLASS_OF*0..]is still benchmark-blocking.Current measured status for
interactive-complex-12:partialvia local tag-class-expanded reply aggregation workaround under#880parser_gapunder#983fix(cypher): support bounded zero-min varlen relationships (*0..N) (#983
lmeyerov commentedon Apr 5, 2026
PR: #1064 — fixes
*0..Nbounded zero-min varlen relationships. One-line parser fix (<= 0→< 0in_rel_hops()) + guard inrel_range_exact()to keep*0rejected. RED→GREEN, full cypher suite passing.fix(cypher): support bounded zero-min varlen relationships (*0..N) (#983
fix(tests): amplify #983/#1047 coverage — bag semantics, partial-hit,…
test: Round 2 amplification + DRY for #983/#1047
fix(tests): #983/#1047 test amplification — bag semantics, partial-hi…
lmeyerov commentedon Apr 6, 2026
Follow-on test amplification and DRY for this fix landed in PR #1070 (squash-merged 2026-04-06):
*-1,*-5..10,*1..-3) now tested to raiseGFQLSyntaxErrorspecifically*0..1(seed + direct neighbors) and*0..100(large bound stops at graph depth) confirmed*0..0boundary behavior documented (parses, returns empty)match5-8(*0..0) was incorrectly taggedGFQLValidationErroron tck-gfql main; corrected tosuccess_wrong_rows