Inconsistent MIN
aggregation function behavior with conditional MATCH
clauses
#868
Labels
bug
Something isn't working
Description:
When executing Cypher queries that involve the
MIN
aggregation function with conditionalMATCH
clauses, the function exhibits inconsistent behavior. Specifically, under certain conditions where no matches are found,MIN
returnsnull
in one scenario and an empty set in another, contrary to the documented behavior.Steps to Reproduce:
Create Nodes:
Execute First MATCH Query:
Execute Second MATCH Query:
Expected Behavior:
Both queries should return
null
when theWHERE
condition evaluates to false.Actual Behavior:
null
as expected.The text was updated successfully, but these errors were encountered: