FlightDataEncoder Optionally send Schema even when no record batches #3591
Labels
arrow-flight
Changes to the arrow-flight crate
enhancement
Any new improvement worthy of a entry in the changelog
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
We recently discovered in IOx that some Flight clients may return errors if no Schema message is sent, even if there are no RecordBatches (such as happens with an result set from a database)
Describe the solution you'd like
I would like a way to optionally configure
FligthDataEncoder
to always send a schema message, even if there are no record batchesDescribe alternatives you've considered
Additional context
https://github.com/influxdata/influxdb_iox/pull/6668
The text was updated successfully, but these errors were encountered: