public static FieldGetter createFieldGetter(LogicalType type, int pos) {
        FieldGetter getter;
        if (type.toString().equalsIgnoreCase(LogicalTypeEnum.DATE.getType())) {
            getter = row -> {
                if (row.isNullAt(pos)) {
                    return null;
                }
                return DorisParseUtils.epochToDate(row.getInt(pos));
            };
        } else {
            getter = RowData.createFieldGetter(type, pos);
        }
        return getter;
    }
A utility function used to handle special fieldGetters for specific

@param type the logical type of the field getter array
@param pos the index of the corresponding row
@return the fieldGetter created
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/doris/src/main/java/org/apache/inlong/sort/doris/util/DorisParseUtils.java