Skip to main content

strip_source_row_positions

Function strip_source_row_positions 

Source
pub fn strip_source_row_positions(
    records: &RecordBatch,
) -> Result<RecordBatch, ConnectorError>
Expand description

Remove all connector metadata without copying visible Arrow buffers.

Batches without reserved fields are returned unchanged. Mutation metadata, when present, must be immediately before the exact trailing row-position fields.

ยงErrors

Returns an error for partial, misplaced, nullable, incorrectly typed, or invalid metadata.