oracle / pgql-lang

PGQL is an SQL-based query language for property graphs
https://pgql-lang.org/
Other
182 stars 44 forks source link

Fix pretty printer generating invalid queries when pushing down a WHERE clause into a MATCH that is followed by a LATERAL #133

Closed oskar-van-rest closed 9 months ago

oskar-van-rest commented 9 months ago

Fix is that the pretty printer now adds the right parentheses around such MATCH clauses: MATCH ( ... WHERE ...) instead of MATCH ... WHERE ...

Additionally, the missing WHERE clause within parentheses had to be added to the syntax, which was planned since the start but never implemented.