lowka commented on code in PR #6406:
URL: https://github.com/apache/ignite-3/pull/6406#discussion_r2269478364


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/util/TypeUtils.java:
##########
@@ -351,6 +357,34 @@ public static Object toInternal(Object val, ColumnType 
spec) {
         }
     }
 
+    /** Return literal holding java object according to it`s type. */
+    public static @Nullable Object getValueFromLiteral(NativeType 
physicalType, RexLiteral lit) {

Review Comment:
   I think it is better to move this method to `RexUtils`, since that class has 
the `literalValue` method.



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