Enable setting FlightDescriptor on FlightDataEncoderBuilder #3855
Labels
arrow
Changes to the arrow crate
arrow-flight
Changes to the arrow-flight crate
enhancement
Any new improvement worthy of a entry in the changelog
good first issue
Good for newcomers
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
When using FlightDataEncoder to send arrow batches to a flight do_put endpoint, FlightDescriptor cannot easily be set on first message. https://arrow.apache.org/docs/format/Flight.html#uploading-data
Describe the solution you'd like
On FlightDataEncoderBuilder a
with_flight_descriptor
method would be nice. The FlightDescriptor would then be set on the first FlightData retrieved from the encoder.Describe alternatives you've considered
Here is a workaround, I may be missing something simpler
The text was updated successfully, but these errors were encountered: