I found this in reader.h ... can't get to it through the docs unless I missed something? https://arrow.apache.org/docs/search.html?q=ReadRecordBatch
ARROW_EXPORT Result<std::shared_ptr<RecordBatch>> ReadRecordBatch( const std::shared_ptr<Schema>& schema, const DictionaryMemo* dictionary_memo, const IpcReadOptions& options, io::InputStream* stream); On Fri, Jul 1, 2022 at 3:18 PM John Muehlhausen <j...@jgm.org> wrote: > If I call `Consume(std::shared_ptr<Buffer> buffer)` and it is already > pre-framed to contain (e.g.) an entire RecordBatch Message and nothing > else, will it use this Buffer in zero-copy mode when calling my > Listener::OnRecordBatchDecoded() implementation? I.e. will data in that > RecordBatch refer directly to the original Buffer I passed in? > > If not, how can we get this functionality? I have a stream transport that > can preserve Message boundaries and yield ownership of that contiguous > memory. > > Thanks, > John >