pub fn deserialize(
block: &Block,
fields: &ArrowSchema,
avro_fields: &[Field],
projection: &[bool],
) -> PolarsResult<RecordBatchT<Box<dyn Array>>>
Available on crate feature
io_avro
only.Expand description
Deserializes a Block
assumed to be encoded according to AvroField
into RecordBatchT
,
using projection
to ignore avro_fields
.
ยงPanics
fields
, avro_fields
and projection
must have the same length.