korlov42 commented on code in PR #1939:
URL: https://github.com/apache/ignite-3/pull/1939#discussion_r1171127364


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/type/IgniteTypeFactory.java:
##########
@@ -72,6 +74,26 @@ public class IgniteTypeFactory extends JavaTypeFactoryImpl {
     /** A registry that contains custom data types. **/
     private final CustomDataTypes customDataTypes;
 
+    /** Contains java types internally mapped into appropriate rel types. */
+    private static final Map<Class<?>, Supplier<RelDataType>> 
implementedJavaTypes = new IdentityHashMap<>();

Review Comment:
   why supplier as value?



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