API improvement: batches_to_flight_data
forces clone
#4656
Labels
api-change
Changes to the arrow API
arrow
Changes to the arrow crate
enhancement
Any new improvement worthy of a entry in the changelog
The API is pretty inconsistent, sometimes requiring a
Schema
and sometimes aSchemaRef
.For example I hold a
SchemaRef
, butbatches_to_flight_data
requires aSchema
, forcing me to create a clone of the ref counted object.Instead, the function should just take a
&Schema
.The text was updated successfully, but these errors were encountered: