Uint8Array containing Parquet data
Optionaloptions: ReaderOptionsOptions for reading Parquet data. Optional keys include:
batchSize: The number of rows in each batch. If not provided, the upstream parquet
default is 1024.rowGroups: Only read data from the provided row group indexes.limit: Provide a limit to the number of rows to be read.offset: Provide an offset to skip over the given number of rows.columns: The column names from the file to read.
Read a Parquet file into Arrow data.
This returns an Arrow table in WebAssembly memory. To transfer the Arrow table to JavaScript memory you have two options:
Table.intoIPCStreamto construct a buffer that can be parsed with Arrow JS'stableFromIPCfunction.Table.intoFFIto construct a data representation that can be parsed zero-copy from WebAssembly with arrow-js-ffi usingparseTable.Example with IPC stream:
Example with
arrow-js-ffi: