healchow commented on code in PR #6832: URL: https://github.com/apache/inlong/pull/6832#discussion_r1049185707
########## inlong-sort/sort-connectors/doris/src/main/java/org/apache/inlong/sort/doris/table/DorisDynamicSchemaOutputFormat.java: ########## @@ -251,6 +251,10 @@ public void open(int taskNumber, int numTasks) throws IOException { this.fieldGetters = new RowData.FieldGetter[logicalTypes.length]; for (int i = 0; i < logicalTypes.length; i++) { fieldGetters[i] = RowData.createFieldGetter(logicalTypes[i], i); + if (logicalTypes[i].toString().equalsIgnoreCase("DATE")) { Review Comment: ```suggestion if ("DATE".equalsIgnoreCase(logicalTypes[i].toString())) { ``` -- 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-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org