EMsnap commented on code in PR #7439:
URL: https://github.com/apache/inlong/pull/7439#discussion_r1119506893
##########
inlong-sort/sort-connectors/doris/src/main/java/org/apache/inlong/sort/doris/util/DorisParseUtils.java:
##########
@@ -49,6 +52,21 @@ public static String parseDeleteSign(RowKind rowKind) {
}
}
+ public static FieldGetter createFieldGetter(LogicalType type, int pos) {
+ FieldGetter getter;
+ if ("DATE".equalsIgnoreCase(type.toString())) {
Review Comment:
Make a enum since there may be another types
--
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]