Vladsz83 commented on a change in pull request #9826:
URL: https://github.com/apache/ignite/pull/9826#discussion_r820113377



##########
File path: 
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/type/IgniteTypeFactory.java
##########
@@ -259,11 +266,26 @@ else if (type instanceof BasicSqlType || type instanceof 
IntervalSqlType) {
                 return 
createTypeWithNullability(createSqlIntervalType(INTERVAL_QUALIFIER_DAY_TIME), 
true);
             else if (clazz == Period.class)
                 return 
createTypeWithNullability(createSqlIntervalType(INTERVAL_QUALIFIER_YEAR_MONTH), 
true);
+            else if (clazz == UUID.class)
+                return createTypeWithNullability(createUUIDType(), true);
         }
 
         return super.toSql(type);
     }
 
+    /** @return UUID SQL type. */
+    public UUIDType createUUIDType() {
+        return new UUIDType(true);

Review comment:
       Fixed




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