Expand description
This module provides PositionDeleteFileWriter.
A position delete file has two required columns: file_path (string, field id
RESERVED_FIELD_ID_DELETE_FILE_PATH) and pos (long, field id
RESERVED_FIELD_ID_DELETE_FILE_POS). The spec also allows an optional row column
that inlines the deleted row’s values; this writer does not support it yet, so batches
must contain only the two required columns. The writer takes batches already shaped as
those two columns (see position_delete_schema) and sets
DataContentType::PositionDeletes on the output. It does not sort its input; see
PositionDeleteFileWriter::write.
Position delete files are a v2 construct. v3 replaces them with deletion vectors and forbids adding new position delete files, so callers must not route v3 writes here. This base writer has no format-version gate by design; that gating belongs at the transaction/commit layer.
Structs§
- Position
Delete File Writer - Writer used to write position delete files within one spec/partition.
- Position
Delete File Writer Builder - Builder for
PositionDeleteFileWriter.
Functions§
- position_
delete_ schema - Returns the canonical Iceberg schema of a position delete file.