haohuaijin opened a new pull request, #22940:
URL: https://github.com/apache/datafusion/pull/22940

   ## Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and 
enhancements and this helps us generate change logs for our releases. You can 
link an issue to this PR using the GitHub syntax. For example `Closes #123` 
indicates that this PR will close issue #123.
   -->
   
   - Closes #22939 
   
   ## Rationale for this change
   
   - see issue #22939 
   
   ## What changes are included in this PR?
   
   - Add public `ParquetRowSelection`.
   - Add `ParquetAccessPlan::try_new_from_overall_row_selection`.
   - Allow Parquet opener setup to read either `ParquetAccessPlan` or 
`ParquetRowSelection`.
   - Reject using both extension types on the same file.
   - Validate that the selection row count matches the file row count.
   - Document the new extension path in `ParquetSource`.
   
   
   ## Are these changes tested?
   
   Yes. This PR adds tests for:
   
   - converting a file-level selection into row-group access
   - rejecting invalid selection row counts
   - creating an initial plan from `ParquetRowSelection`
   - rejecting both `ParquetAccessPlan` and `ParquetRowSelection` on the same 
file
   
   ## Are there any user-facing changes?
   
   Yes. This adds a new public `ParquetRowSelection` type for callers that want 
to attach a file-level Parquet `RowSelection` to a `PartitionedFile`.
   


-- 
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]

Reply via email to