FANNG1 commented on code in PR #4265:
URL: https://github.com/apache/gravitino/pull/4265#discussion_r1691173852
##########
flink-connector/src/main/java/org/apache/gravitino/flink/connector/utils/TypeUtils.java:
##########
@@ -39,6 +47,69 @@ public static Type toGravitinoType(LogicalType logicalType) {
return Types.IntegerType.get();
case BIGINT:
return Types.LongType.get();
+ case CHAR:
+ CharType charType = (CharType) logicalType;
+ return Types.FixedCharType.of(charType.getLength());
+ case BOOLEAN:
+ return Types.BooleanType.get();
+ case BINARY:
Review Comment:
flink `BINARY` has fixed length, seems couldn't convert to Gravitino types?
cc @mchades
--
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]