Open sebastian opened 4 years ago
I think we need a slightly different compiler API for that. The main problem that I see is that compilation can take an arbitrary amount of time until data source analysis completes.
I think we need a slightly different compiler API for that.
Agreed. We would need something which completes fast. Maybe it could even execute in air
rather than cloak
if there is a clean way to extract some shared code... although that suddenly makes this into a giant project...
Much like we can highlight which part of a query is anonymizing and which is restricted we could use the very same mechanism to provide an analyst with type checking and query validation as they are writing a query. That way most instances of having to run a query only to immediately get feedback that it's broken could be removed.