-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Found it on the internets, sqlglot looks like a fantastic library - parser + query transformer + dialect converter.
Supports building queries incrementally too - link, though not sure how it will work for larger queries. If it does, definitely makes FunSQL in python redundant since writing small sql expressions is more convenient.
We could definitely leverage it meanwhile.
- Add an SQLNode called
LiteralQuerythat takes a SQL string, parse it with sqlglot. If we can infer the output columns, could compose/extend it with regular FunSQL constructs. - Use it to transpile FunSQL output SQL string to different dialects.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels