cloud-fan commented on PR #35965:
URL: https://github.com/apache/spark/pull/35965#issuecomment-1098876411

   The internal `SparkPlan.outputOrdering` property is for data ordering within 
partitions. If a data source scan want to report a global ordering, it needs to 
report `RangePartitioning` as well as a data ordering within partitions using 
the same keys.
   
   That said, I think a new API `SupportsReportOrdering`  makes sense to report 
the data ordering within partitions.


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