vmware-archive / sql-to-dbsp-compiler

Compiler translating SQL view definitions into DBSP circuits (https://github.com/vmware/database-stream-processor)
Other
28 stars 5 forks source link

JSON serialization of circuits #101

Closed mihaibudiu closed 1 year ago

mihaibudiu commented 1 year ago

Signed-off-by: Mihai Budiu mbudiu@vmware.com @Kixiron hopefully this can be used as a basis for the JIT. The output is on the large side, and the compiler does not yet have a flag to output json.

mihaibudiu commented 1 year ago

With this last PR you can dump json from the SQL compiler as follows:

cd SQL-compiler
./sql-to-dbsp -j -o x.json file.sql