cloud-fan commented on issue #27077: [SPARK-30408][SQL] Should not remove orderBy in sortBy clause in Optimizer URL: https://github.com/apache/spark/pull/27077#issuecomment-573493537 I think it's about the sort semantic. `df.sort('a)` means the result should be sorted by column `a`. But how about the order of data whose value of column `a` are the same? Can we preserve the original data order? Should `df.sort('b).sort('a)` be different from `df.sort('a)`?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
