Skip to content

Conversation

@arnefischereit
Copy link
Contributor

Except for aggregations, we only evaluate something if there are any rows in the table.

@arnefischereit arnefischereit added cherry-pick-this-to-4.4 Cherry pick this PR changes to the 4.4 branch cherry-pick-this-to-5.x Cherry pick this PR changes to the 5.x branch team-cypher-planner team-cypher-surface dev labels Nov 24, 2025
Copy link
Contributor

@SachinVasant SachinVasant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good. Please let me know what you think of the suggested edit.

Each clause has as input the state of the graph and a table of intermediate results consisting of the current variables.
The output of a clause is a new state of the graph and a new table of intermediate results, serving as input to the next clause.
The first clause takes as input the state of the graph before the query and an empty table of intermediate results.
The first clause takes as input the state of the graph before the query and a table with one empty row of intermediate results.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would this help: a table initialized with a single empty row for intermediate results.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, if you think this is clearer.

Copy link
Contributor

@hvub hvub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine. :-)

@neo4j-docops-agent
Copy link
Collaborator

This PR includes documentation updates
View the updated docs at https://neo4j-docs-cypher-1430.surge.sh

Updated pages:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick-this-to-4.4 Cherry pick this PR changes to the 4.4 branch cherry-pick-this-to-5.x Cherry pick this PR changes to the 5.x branch dev team-cypher-planner team-cypher-surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants