I've been playing with malloy[1] that lets you pipeline/nest queries like you are describing here.
source: quux as from_sql(..) { where: record_version = 1 where: _bad != null }
I've been playing with malloy[1] that lets you pipeline/nest queries like you are describing here.
1. https://looker-open-source.github.io/malloy/documentation/la...