pub fn make_batch_nullable(batch: &RecordBatch) -> RecordBatch
Expand description
Returns a new [RecordBatch
] where all top-level fields are nullable.
⚠️ This is not recursive! E.g. for a StructArray
containing 2 fields, only the field
corresponding to the StructArray
itself will be made nullable.