patch_batch_timezone

Function patch_batch_timezone 

Source
pub fn patch_batch_timezone(
    expected_schema: SchemaRef,
    columns: Vec<ArrayRef>,
) -> Result<RecordBatch, ArrowError>
Expand description

A patch for substrait simply throw timezone away, so when decoding, if columns have different timezone then expected schema, use expected schema’s timezone