ivandasch commented on code in PR #10928:
URL: https://github.com/apache/ignite/pull/10928#discussion_r1341483486


##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/util/TypeUtils.java:
##########
@@ -498,4 +505,46 @@ public static RexNode toRexLiteral(Object dfltVal, 
RelDataType type, DataContext
 
         return rexBuilder.makeLiteral(dfltVal, type, true);
     }
+
+    /**
+     * @return New object of specific type.
+     */
+    public static Object createObject(GridCacheContext<?, ?> cctx, String 
typeName, Class<?> typeCls) throws IgniteException {

Review Comment:
   It can be used later for complex keys. It may be redundant right now, but it 
is also a kind of refactoring. 



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