alamb commented on issue #16688: URL: https://github.com/apache/datafusion/issues/16688#issuecomment-3046580169
I reread the format guide again, and I think the Arrow file format is an extension of the IPC (stream) format https://arrow.apache.org/docs/format/Columnar.html#ipc-file-format It looks like the file format simply has a few extra header bytes and then a footer. Otherwise it is the same as the stream. format So we should be able to support both formats fairly straightforwardly It may be possible to simply use the [StreamReader](https://docs.rs/arrow-ipc/55.2.0/arrow_ipc/reader/struct.StreamReader.html) rather than the [`FileReader`](https://docs.rs/arrow-ipc/55.2.0/arrow_ipc/reader/struct.FileReader.html) in the underlying code for `ArrowFormatFactory` https://github.com/apache/datafusion/blob/2741c60ad9d637e5014d201802abb25562449491/datafusion/core/src/datasource/file_format/arrow.rs#L110-L109 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org