You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "EMsnap (via GitHub)" <gi...@apache.org> on 2023/02/28 02:18:08 UTC
[GitHub] [inlong] EMsnap commented on a diff in pull request #7439: [INLONG-7392][Sort] Refactor Doris single table to solve performance issues
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: commits-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org