asolimando commented on code in PR #4557:
URL: https://github.com/apache/calcite/pull/4557#discussion_r2383015621


##########
core/src/main/java/org/apache/calcite/rex/RexUtil.java:
##########
@@ -1718,7 +1726,67 @@ public static boolean isLosslessCast(RelDataType source, 
RelDataType target) {
       final int targetPrecision = target.getPrecision();
       return targetPrecision == PRECISION_NOT_SPECIFIED || targetPrecision >= 
sourceLength;
     }
-    // Return FALSE by default
+
+    // 4) DECIMAL -> DECIMAL

Review Comment:
   Is this about 2) and 3) that I haven't updated or it's across the spectrum? 
If it's the latter, can you elaborate more on what you would like to see?



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