Re:PRQL as a DuckDB Extension
by oulipo on Thursday January 25, 2024 @11:47AM
(#39131577)
Nice! Perhaps you could distribute a NPM package with the WASM extension too? Otherwise the alternative is to use the WASM PRQL compiler, and use that in the browser to generate queries for ducksb-wasm
[ Parent
| on HN ]
I'm quite excited about this, and would also love to have it distributed as an NPM package.
I work on an OSS web framework for reporting/ decision support applications (https://github.com/evidence-dev/evidence), and we use WASM duckDB as our query engine. Several folks have asked for PRQL support, and this looks like it could be a pretty seamless way to add it.
I added it using prql-js
Here it is: https://carlopi.github.io/duckdb-wasm-unsigned////#queries=v...
That is, the duckdb-wasm web shell with loaded PSQL extension