A ReadableStream of RecordBatch instances
Optionalwriter_properties: WriterProperties | null
(optional) Configuration for writing to Parquet. Use the WriterPropertiesBuilder to build a writing configuration, then call .build() to create an
immutable writer properties to pass in here. Freed by this function, so don't call .free() on
it afterwards or reuse it.
ReadableStream containing serialized Parquet data.
Transform a ReadableStream of RecordBatches to a ReadableStream of bytes
Browser example with piping to a file via the File System API:
NodeJS (ESM) example with piping to a file:
NB: the above is a little contrived -
await writeFile("file.parquet", serializedParquetStream)is enough for most use cases.Browser kitchen sink example - teeing to the Cache API, using as a streaming post body, transferring to a Web Worker: