raminqaf commented on code in PR #29128:
URL: https://github.com/apache/flink/pull/29128#discussion_r3965694724


##########
flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/utils/ValueDataTypeConverter.java:
##########
@@ -97,6 +98,8 @@ else if (value instanceof byte[]) {
             return Optional.of(DataTypes.VARIANT().notNull());
         } else if (value instanceof RoaringBitmapData) {
             convertedDataType = DataTypes.BITMAP();
+        } else if (value instanceof UUID) {
+            convertedDataType = DataTypes.UUID();

Review Comment:
   That is true... The definition here is redundant. If we don't define the 
branch it should fall back to the else and get the `defaultDataType` from 
`CalssDataTypeConverter`.



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