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
The second query only inserts a result-independent subquery boundary. It must preserve the row stream and all graph side effects of the control query. Both executions should return one row and leave the same graph.
Actual
On two independent fresh-container repetitions:
Control query: one result row; final graph has 1034 vertices and 13 edges.
Equivalent query: one result row; final graph has 2034 vertices and 13 edges.
The extra 1000 Z vertices are created by the equivalent query even though the inserted subquery returns a constant and its binding is discarded.
A LIMIT placed after a write (here FOREACH) stopped reading rows early, so the write ran for only some of them. The no-op CALL just happened to force all rows to be read, which is why the two queries differed. The write now always runs for every row before LIMIT trims the result: the control query creates all 2000 Z vertices, same as the variant.
❤️ Thanks for helping make ArcadeDB better! ArcadeDB is free and open source, sustained by its community. If it's useful to you or your company, please consider becoming a sponsor to keep development going.
Activity
Merge pull request #8830 from ArcadeData/fix/8826-8827-cypher-call-op…
lvca commentedon Oct 1, 2026
Confirmed and fixed in #8830 (milestone 26.10.1).
A
LIMITplaced after a write (hereFOREACH) stopped reading rows early, so the write ran for only some of them. The no-opCALLjust happened to force all rows to be read, which is why the two queries differed. The write now always runs for every row beforeLIMITtrims the result: the control query creates all 2000Zvertices, same as the variant.❤️ Thanks for helping make ArcadeDB better! ArcadeDB is free and open source, sustained by its community. If it's useful to you or your company, please consider becoming a sponsor to keep development going.
fix(opencypher): a LIMIT after a write no longer cuts the write short (…
fix(opencypher): a LIMIT after a write no longer cuts the write short (…