ulysses-you commented on pull request #35924:
URL: https://github.com/apache/spark/pull/35924#issuecomment-1076979198


   >  file writing will add the necessary sort.
   
   it does not. FileFormatWriter just checks the `initialization` SparkPlan if 
the ordering satisfies the required. If AQE changes the ordering at runtime, 
FileFormatWriter can not aware the change. So if we override the 
outputOrdering, we must make sure AQE won't change it.


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