gong commented on code in PR #4138:
URL: https://github.com/apache/incubator-inlong/pull/4138#discussion_r875416227
##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/sort/util/FieldInfoUtils.java:
##########
@@ -263,10 +298,127 @@ public static FormatInfo convertFieldFormat(String type,
String format) {
default: // default is string
formatInfo = new StringFormatInfo();
}
+ return formatInfo;
+ }
+ /**
+ * Get the FieldFormat of Sort according to complex type string
+ *
+ * @param map
+ * @return
+ */
+ private static FormatInfo transferComplexType(Map<String, String> map) {
+ FormatInfo formatInfo = null;
Review Comment:
Add a UT for `transferComplexType` and add some case data for input param
Map.
--
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]