rubenada commented on code in PR #4607:
URL: https://github.com/apache/calcite/pull/4607#discussion_r2470276918


##########
testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java:
##########
@@ -13654,7 +13654,7 @@ private static void 
checkArrayConcatAggFuncFails(SqlOperatorFixture t) {
         + "where x > 1 order by x asc limit 1)",
         "(INTEGER NOT NULL, INTEGER NOT NULL) MAP NOT NULL", "{3=4}");
     f.check("select map(select x,y from (values(1,2),(3,4)) as t(x,y) order by 
x desc)",
-        "(INTEGER NOT NULL, INTEGER NOT NULL) MAP NOT NULL", "{1=2, 3=4}");
+        "(INTEGER NOT NULL, INTEGER NOT NULL) MAP NOT NULL", "{3=4, 1=2}");

Review Comment:
   @mihaibudiu correct, but for this particular test this seems to be the case 
(which is good for test reproducibility) because our particular implementation 
of MAP constructor uses a LinkedHashMap



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