EnricoMi opened a new pull request #35965: URL: https://github.com/apache/spark/pull/35965
### What changes were proposed in this pull request? As `SupportsReportPartitioning` allows implementations of `Scan` provide Spark with information about the exiting partitioning of data read by a `DataSourceV2`, a similar mix in interface `SupportsReportOrdering` should provide order information. ### Why are the changes needed? This prevents Spark from sorting data if they already exhibit a certain order provided by the source. ### Does this PR introduce _any_ user-facing change? It adds `SupportsReportOrdering` mix in interface. ### How was this patch tested? This adds tests to `DataSourceV2Suite`, similar to the test for `SupportsReportPartitioning`. -- 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]
