Github user MLnick commented on the issue:
https://github.com/apache/spark/pull/19621
@WeichenXu123 with reference to
https://github.com/apache/spark/pull/19621#issuecomment-344530228 - the sort
is
[stable](https://github.com/scala/scala/blob/2.11.x/src/library/scala/collection/SeqLike.scala#L627)
with respect to the input collection. So as long as the result of the "count
by value" aggregation is deterministic so will the sort order be in the case of
equalities.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]