ldbc / gcore-spark

Implementation of the G-CORE graph query language on Spark
Apache License 2.0
15 stars 5 forks source link

Support GROUP BY and HAVING in case of SELECT queries #16

Open peterboncz opened 6 years ago

peterboncz commented 6 years ago
peterboncz commented 5 years ago

note: we have decided to put HAVING as a clause at the end of CONSTRUCT, ie not inside the edge pattern as was initially decided in Shonan. The reason is that SET attribute for vertices can also be aggregations (in case they depend on other variables than the vertex or vertex grouping), and one may always want to filter on the outcome of such aggregates.