healchow commented on code in PR #6571: URL: https://github.com/apache/inlong/pull/6571#discussion_r1025895449
########## inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/sort/util/FieldInfoUtils.java: ########## @@ -172,7 +174,7 @@ public static FormatInfo convertFieldFormat(String type) { */ public static FormatInfo convertFieldFormat(String type, String format) { FormatInfo formatInfo; - FieldType fieldType = FieldType.forName(type); + FieldType fieldType = FieldType.forName(StringUtils.substringBefore(type, LEFT_BRACKET)); Review Comment: How to deal with `int(4)`, `int(11)` and other 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-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org