pub fn cast_record_batch(
batch: &RecordBatch,
target_schema: SchemaRef,
safe: bool,
add_missing: bool,
) -> DeltaResult<RecordBatch>
Expand description
Cast recordbatch to a new target_schema, by casting each column array
pub fn cast_record_batch(
batch: &RecordBatch,
target_schema: SchemaRef,
safe: bool,
add_missing: bool,
) -> DeltaResult<RecordBatch>
Cast recordbatch to a new target_schema, by casting each column array