Skip to main content

Module writer

Module writer 

Source
Expand description

Parquet writer.

StructsΒ§

ObjectStoreWriter
Bridges an OpenDAL [Writer] with Parquet’s [AsyncFileWriter].
ObjectStoreWriterFactory
ParquetWriter
Parquet SST writer.
SizeAwareWriter πŸ”’
Workaround for [AsyncArrowWriter] does not provide a method to get total bytes written after close.
SourceStats πŸ”’
SstWriteContext πŸ”’
Optional ownership, cancellation, and resource limits for an SST write.
SstWriteLimits πŸ”’
Optional limits used by multi-output compaction. A batch may temporarily exceed the working threshold before its check; callers reserve that workspace.
WriteMemory πŸ”’
Tracks retained footer memory across rolled files as well as the current file.

EnumsΒ§

FlatBatchConverter πŸ”’
Converts a flat RecordBatch for writing to parquet.
SeriesBoundarySplit πŸ”’
Result of splitting a batch at the next series boundary.
SstArrowWriter πŸ”’
Arrow writer of the current SST file.

TraitsΒ§

SstWriteGuard
Registers output ownership before either an SST or its index is created in storage.
WriterFactory

FunctionsΒ§

encoded_primary_keys πŸ”’
Returns the dictionary keys and values of the encoded __primary_key column.
map_upload_error πŸ”’
map_write_error πŸ”’
Keeps cancellation inside the SST write error contract, including nested encoder errors.
split_at_next_series πŸ”’
Splits batch at the first row whose encoded primary key differs from current_primary_key, the last primary key written to the current file.
timestamp_range_from_array πŸ”’
Gets min and max timestamp from an timestamp array.