zzwqqq commented on code in PR #5041:
URL: https://github.com/apache/calcite/pull/5041#discussion_r3459709661


##########
core/src/test/java/org/apache/calcite/test/JdbcTest.java:
##########
@@ -390,7 +390,7 @@ static void forEachExpand(Runnable r) {
               + "expr#7=[null:JavaType(class java.lang.Integer)], "
               + "empid=[$t3], deptno=[$t4], name=[$t5], salary=[$t6], "
               + "commission=[$t7])\n"
-              + "    EnumerableValues(tuples=[[{ 'Fred', 56, 
123.4000015258789E0 }]])\n";
+              + "    EnumerableValues(tuples=[[{ 'Fred', 56, 123.4 }]])\n";

Review Comment:
   The original SQL uses `123.4`. The old plan cast the value through a 
narrower floating-point type, which produced `123.4000015258789E0`; without 
that cast the value stays `123.4`.



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