alamb opened a new pull request, #21327: URL: https://github.com/apache/datafusion/pull/21327
(Draft until I am sure I can use this API to make FileStream behave better) ## Which issue does this PR close? - part of https://github.com/apache/datafusion/issues/20529 - Broken out of https://github.com/apache/datafusion/pull/20820 ## Rationale for this change I am reworking how the FileStream works so that it can reorder operations at runtime. Eventually that will include both CPU and IO This PR is a step in the direction by introducing the main Morsel API and implementing it for Parquet ## What changes are included in this PR? 1. Add proposed `Morsel` API 2. Rewrite Parquet opener in terms of that API 3. Add an adapter layer (back to FileOpener, so I don't have to rewrite FileStream in the same PR) My next PR will rewrite the FileStream to use the Morsel API ## Are these changes tested? Yes by existing CI. I will work on adding additional tests for just Parquet opener in a follow on PR ## Are there any user-facing changes? No -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
