ldbc / gcore-spark

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

CONSTRUCT (v1 GROUP foo), (v1 GROUP bar IN v2) #11

Open peterboncz opened 6 years ago

peterboncz commented 6 years ago

Introduce a new optional IN subclause where "IN v1" is the new optional subclause of GROUP in CONSTRUCT. This means that v1 and v2 are going to belong to the same domain, so v1 and v2 will be the same now if expression foo and bar are the same, and therefore we can potentially also construct a self-referencing edge here (the use-case whereby Hannes Voigt championed this feature is graph summarization).