Read a Parquet file into an Arrow JS table via parquet-wasm.
( data: Uint8Array, )
| 474 | |
| 475 | /** Read a Parquet file into an Arrow JS table via parquet-wasm. */ |
| 476 | async function parquetToArrow( |
| 477 | data: Uint8Array, |
| 478 | ): Promise<import('apache-arrow').Table> { |
| 479 | const pw = await getParquetWasm(); |
| 480 | const wasmTable = pw.readParquet(data); |
| 481 | return tableFromIPC(wasmTable.intoIPCStream()); |
| 482 | } |
| 483 | |
| 484 | // ---- Store implementation ---- |
| 485 |
no test coverage detected