Github user MLnick commented on the issue:
https://github.com/apache/spark/pull/19621
The first case you mention wouldnât actually end up sorting by freq, no?
It
would have to be the other way around?
For second case, yes equality must mean it is the same string / key so
shouldnât actually occur
On Wed, 22 Nov 2017 at 16:01, WeichenXu <[email protected]> wrote:
> @MLnick <https://github.com/mlnick> How about this way:
> The case "fequencyAsc/Desc", sort first by frequency and then by alphabet,
> The case "alphabetAsc/Desc", sort by alphabet (and if alphabetically
> equal, the two label should be the same ?)
>
> â
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/spark/pull/19621#issuecomment-346358015>, or
mute
> the thread
>
<https://github.com/notifications/unsubscribe-auth/AA_SB78zMKYwfyjaNMedcxN9GIFdJclNks5s5ClBgaJpZM4QM3Ni>
> .
>
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]