u/jpoehnelt Can you comment on the viability of deploying duckdb-wasm to google sheets? Even if I got it working, would it be a terrible idea because of the IO overhead of needing to read in all the individual sheets, feeding that into the duckdb wasm, and then re-writing it back out to the sheets on query completion? It looks like they have examples already of creating the wasm-js bridge in their own special way, and I'm not sure if this is migratable to the implementation method in the repo you linked.
That does sound like a lot of overhead. Probably not worth the effort. Assuming the desire is to keep the data local to Apps Script with no external services?
Yeah, the idea was to be able to keep it all in Apps Script, via a library that I can import and use in any sheet in my org. I'll report back if I actually dive down this rabbit hole, but I probably won't. Thanks for the response!
1
u/Nick-Crews Sep 16 '25
u/jpoehnelt Can you comment on the viability of deploying duckdb-wasm to google sheets? Even if I got it working, would it be a terrible idea because of the IO overhead of needing to read in all the individual sheets, feeding that into the duckdb wasm, and then re-writing it back out to the sheets on query completion? It looks like they have examples already of creating the wasm-js bridge in their own special way, and I'm not sure if this is migratable to the implementation method in the repo you linked.