Github user cloud-fan commented on the issue:
https://github.com/apache/spark/pull/16724
I don't think we should respect the ordering of input data in the writer.
The current `DataFrameWriter` doesn't allow users to write data out orderly.
However, there is an opportunity for optimization: when the data is already
partitioned, the writer doesn't need to sort the data by partition columns
anymore.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]