Skip to main content

transcode_legacy_record_batch

Function transcode_legacy_record_batch 

Source
pub fn transcode_legacy_record_batch(
    type_name: &str,
    file_path: &str,
    batch: RecordBatch,
) -> Result<LegacyTranscodeResult, LegacyArrowError>
Expand description

Resolves a normalized source batch through the legacy schema registry.

ยงErrors

Returns LegacyArrowError::UnknownSchema when a registered Nautilus type matches neither its current schema nor a known v1 schema. Returns LegacyArrowError::Transcode when a known v1 batch contains values that cannot be converted without loss.