Github user srowen commented on the issue:
https://github.com/apache/spark/pull/18586
Your new test looks reasonable, though it failed, because I believe the
sorting is only by key. It wouldn't necessarily cause them to be ordered by the
second value in the tuple. The example is a little bit misleading because it
sort of looks like it is sorting by value too. But, I think you could just
adjust the test to expect the actual order as it happens here. The output was
sorted by key, correctly.
---
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]