fivetran / zetasql-npm

npm package for ZetaSQL library
https://www.npmjs.com/package/@fivetrandevelopers/zetasql
MIT License
14 stars 0 forks source link

Feasibility of browser (Wasm) build? #60

Open imathews opened 1 year ago

imathews commented 1 year ago

First off, thank you so much for creating this library — it's a huge help for us in being able to parse Google SQL from a node environment.

I was curious as to what your thoughts are on the feasibility in getting this to work in a browser context. Given that ZetaSQL exposes a server listening on a local port, I imagine this might be quite difficult... but just thought I'd ask.

It would be incredible for our use case if it's possible to pull this off; the ability to do full client-side analysis of SQL statements would both improve perceived performance while taking the load off our servers.