Report errors on where clauses in optional match queries #5272
Labels
affects/master
PR/issue: this bug affects master version.
auto-sync
cherry-pick-v3.4
process/done
Process of bug
severity/minor
Severity of bug
type/bug
Type: something is unexpected
Milestone
Optional match does not support where clauses for the time being. Queries like
... optional match (v) where v.player.age == 1000 ...
may very likely return wrong results. Thus, we need to ban it and report errors.It is ok to use a singular optional match without where clauses, like
... optional match (v:player) match ...
.The text was updated successfully, but these errors were encountered: