4 ms·
> I can see this being solved for one database. But not across all databases and a common api. Database client libraries are already database-specific. Why boi
by josephg 2y ago
> I can see this being solved for one database. But not across all databases and a common api.
Database client libraries are already database-specific. Why boil the ocean? We could start with one database with this very easily until we figured out a good IR for queries.
It could even be database-version specific if you wanted, through the use of wasm. Make the database client library embed a wasm VM. Then on startup, the database sends any connected client application the latest query optimizer / whatever logic in a compiled wasm bundle. This would allow the database to make improvements to the IR with successive versions without needing to update all the client libraries out there.