marsupialtail / quokka

Making data lake work for time series
https://marsupialtail.github.io/quokka/
Apache License 2.0
1.14k stars 60 forks source link

fix with_column_sql bug, update sql_utils #36

Closed sarahfujimori closed 1 year ago

sarahfujimori commented 1 year ago

In this function, the sql expression is rewritten to select from 'batch_arrow', so an error is returned if another table name is referenced during the sql_expression. This PR rewrites the expression to change table name references to 'batch_arrow' and also includes some other updates to sql_utils.