3 ms·
Ahh. I guess for SQL you could just pass the queries through, and for NoSQL engines try to convert the AST format. When I was researching this area, it seems l
by gavinray 6y ago
Ahh. I guess for SQL you could just pass the queries through, and for NoSQL engines try to convert the AST format.
When I was researching this area, it seems like Apache Calcite is the way to go, and already does this though?
It lets you use standard SQL and has adapters which translate from the abstract query AST to the particular implementation.
https://calcite.apache.org/docs/adapter.html https://calcite.apache.org/docs/adapter.html
You can query anything with this, exactly the same way. It's kind of wild I've never heard it talked about tbh.
I went looking for solutions to multi-datastore querying when I fiddled with a business intelligence side project. Pretty useless to only be able to query one type of data, and too time consuming to implement individual mappings.
Apache Calcite and Metabase Query Language (quite the exact usecase there for Metabase, haha) were the only things I could find.