Github user viirya commented on the issue:
https://github.com/apache/spark/pull/16724
A data save API which doesn't respect the ordering of data sounds strange
for me. If this is true, then, extremely said, we can remove the final Sort
operator if any, when we want to output the data. Besides, you can't perform a
simple task like "write out the csv files for customers sorted by buying amount
in each city".
Actually, when the data is not partitioned, then saving sorted data will
keep the ordering, as we don't do the external sorting, if I think it
correctly. For end-users, it might be hard for them to figure out why saving
partitioned and sorted data can't keep the ordering.
---
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]