ldbc / gcore-spark

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

CREATE and DROP GRAPH #6

Closed peterboncz closed 5 years ago

peterboncz commented 6 years ago

Support CREATE GRAPH x, which indicates that graph x is persistent, and that the catalog has to be changed also in a persistent way.

Also support DROP GRAPH x, which indicates that a graph x that is persistent has to be deleted from Spark and the catalog.

CREATE GRAPH x should have a default semantics (for example, it should be default rule that indicates where graph x should be stored and in which format).

CREATE GRAPH x should also give the possibility to the user to specify some parameters such as directory where x is going to be stored, format for x, …

It could be something like CREATE GRAPH x (directory="/foo", format="parquet")

ramhgarcias commented 5 years ago

Fixed by 364f0de60917b0d67cbdf3ed132c0fccb0893cf5 2f1d54efa9312a9363f5396c25a1505b2d5341a6