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

Add support to read input data directly from a database during tests #79

Closed lalithsuresh closed 1 year ago

lalithsuresh commented 1 year ago

Only tested against sqlite3 for now (and only uses sqlite specific imports).

Also needs a bit of work to support some dbsp types like F64. I'll add that in separate patches.

Signed-off-by: Lalith Suresh lsuresh@vmware.com

mihaibudiu commented 1 year ago

I will merge this for now.

mihaibudiu commented 1 year ago

One possible continuation would now be to change sqllogictest by adding a flag which would use this reader instead of reading in java and generating literals.

lalithsuresh commented 1 year ago

One possible continuation would now be to change sqllogictest by adding a flag which would use this reader instead of reading in java and generating literals.

Sounds good. I'll look into that during the week.