viirya opened a new issue, #629: URL: https://github.com/apache/datafusion-comet/issues/629
### What is the problem the feature request solves? During debugging incorrect TPCDS queries in https://github.com/apache/datafusion-comet/pull/613, these incorrect rows are not ordered as Spark. I found that the order of returned rows are not related to the sorting columns. For example, if you sort on [a, b], there are some rows with same [a, b] so the order of these rows are irrelevant to the sorting order, i.e., either ``` |a|b|c| |0|1|1| |0|1|2| ``` or ``` |a|b|c| |0|1|2| |0|1|1| ``` are correct results for sorting on [a, b]. In these failed queries, Spark sort produces one and DataFusion sort produces another one. Because we compare the results as string, they are considered incorrect now by `CometTPCDSQuerySuite`. ### Describe the potential solution _No response_ ### Additional context _No response_ -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
