xiedeyantu commented on code in PR #4904:
URL: https://github.com/apache/calcite/pull/4904#discussion_r3120624221


##########
core/src/test/resources/sql/misc.iq:
##########
@@ -1381,12 +1381,12 @@ from v;
 # ORDER BY expression with SELECT DISTINCT
 select distinct deptno, job
 from "scott".emp
-order by substring(job from 2 for 1), -deptno;
+order by substring(job from 2 for 1), -deptno, job;

Review Comment:
   Yes, that's to stabilize the output order. Adding this rule would cause the 
output order to change.



-- 
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]

Reply via email to