malloydata / malloy

Malloy is an experimental language for describing data relationships and transformations.
http://www.malloydata.dev
MIT License
1.92k stars 75 forks source link

Fix issue where BQ refused to generate "complex SQL" for a select #1611

Open christopherswenson opened 5 months ago

christopherswenson commented 5 months ago

Fixes https://github.com/malloydata/malloy/issues/1604

Removed an error-checking condition in the compiler where if "complex SQL" was ever generated for a select it would throw an error. This was probably once reasonable when the only way you could generate complex SQL was when there were nests, but now it can also happen if you use window functions.