A ReadableStream of RecordBatch
instances
Optional
writer_properties: WriterProperties(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.
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: