Whoops, please ignore. I didn't pay enough attention to my autocomplete for Apache mailing lists :)
On Wed, Apr 21, 2021 at 11:37 AM Paul Whalen <pgwha...@gmail.com> wrote: > Hi all, > > I'm using the Go Flight client, working off of this example: > https://github.com/apache/arrow/blob/master/go/arrow/flight/flight_test.go > > I've found that there isn't a very convenient way to access the app > metadata from a Flight stream, because the ipc.Reader you get from calling > flight.NewRecordReader() only exposes the array.Record as you read data > from it. This makes sense to me because only Flight defines the App > Metadata concept, not the Arrow IPC format on its own. I've been able to > work around it by dropping down a level, and building an alternate > flight.dataMessageReader but this seems subpar. > > Am I missing something? Or is there an opportunity to make the result of > flight.NewRecordReader() a bit more useful such that it includes the app > metadata? Perhaps a type more specific to Flight, not just IPC in > general. On the Java side I see that FlightStream has getLatestMetadata() > which seems like a pattern worth following. > > Thanks, > Paul >