Kyle Barron
Kyle Barron
Motivation: Parquet and Arrow are chunked formats. Therefore we shouldn't need to wait for the entire dataset to load/parse before getting some data back. However I'm still not aware of...
When you make a method: ```rs #[wasm_bindgen] pub fn version(self) -> i32 { self.0.version() } ``` the `self` consumes the instance, and you can't use it again. So if you...
I.e. structs have a `.free` function in JS that you prob need to call when you're done with the memory.
https://github.com/duckdb/duckdb-wasm/blob/51329add89adf9b3b9cd2e4d4b24dbae2515afdf/packages/duckdb-wasm/package.json#L109-L119 Might solve the bundling problems we've been facing in loaders.gl from this issue: https://github.com/duckdb/duckdb-wasm/issues/345#issuecomment-974804409
Return an empty IPC table with only the schema but no rows?
Would be great to add some examples, maybe a benchmark page?
Refs: - https://github.com/domoritz/arrow-wasm/compare/dom/reference-types - https://github.com/domoritz/arrow-wasm/pull/16 - https://github.com/domoritz/arrow-wasm/issues/4
1. Can you try using a `js_sys::ArrayBuffer` type? It might even do the arrraybuffer/uint8array conversion on the js bindings side 2. Can you use js snippets? wasm-bindgen doesn't natively support...