Skip to content

Commit

Permalink
[INLONG-10954][Manager] Support fields of timestamptz type
Browse files Browse the repository at this point in the history
  • Loading branch information
fuweng11 committed Aug 30, 2024
1 parent 7cfbf8a commit 10a0b2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ public static FormatInfo convertFieldFormat(String type, String format) {
formatInfo = new TimeFormatInfo();
}
break;
case TIMESTAMPTZ:
case TIMESTAMP:
case DATETIME:
if (StringUtils.isNotBlank(format)) {
Expand All @@ -307,6 +306,7 @@ public static FormatInfo convertFieldFormat(String type, String format) {
formatInfo = new TimestampFormatInfo();
}
break;
case TIMESTAMPTZ:
case LOCAL_ZONE_TIMESTAMP:
if (StringUtils.isNotBlank(format)) {
formatInfo = new LocalZonedTimestampFormatInfo(convertTimestampOrDataFormat(format), 2);
Expand Down

0 comments on commit 10a0b2a

Please sign in to comment.