vmware-archive / sql-to-dbsp-compiler

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

Calcite plans sometimes produce unnecessary columns which are projected away later #140

Open mihaibudiu opened 1 year ago

mihaibudiu commented 1 year ago

This happens for joins and unnests, for example. The compiler should "look ahead" and not generate the fields that are not needed.