xuzifu666 commented on code in PR #4342:
URL: https://github.com/apache/calcite/pull/4342#discussion_r2065321682


##########
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java:
##########
@@ -5958,6 +5999,13 @@ private void checkLiteral2(String expression, String 
expected) {
         .ok(expected);
   }
 
+  @Test void testDuckDBDecimalPrecision() {
+    final String sql = "SELECT CAST(1.23 AS DECIMAL(38, 37))";
+    final String expected = "SELECT 1.2300000000000000000000000000000000000";

Review Comment:
   Thanks for the reminder, had add a case with non-zero at last. @mihaibudiu 



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