Skip to content

Commit

Permalink
modify e2e ut
Browse files Browse the repository at this point in the history
  • Loading branch information
chovy-3012 committed Oct 12, 2023
1 parent 7da79df commit ac28d20
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ private SeaTunnelDataType<?> getFunctionType(Function function) {
case ZetaSQLFunction.DAYNAME:
case ZetaSQLFunction.MONTHNAME:
case ZetaSQLFunction.FORMATDATETIME:
case ZetaSQLFunction.FROM_UNIXTIME:
return BasicType.STRING_TYPE;
case ZetaSQLFunction.ASCII:
case ZetaSQLFunction.LOCATE:
Expand All @@ -236,8 +237,6 @@ private SeaTunnelDataType<?> getFunctionType(Function function) {
case ZetaSQLFunction.SECOND:
case ZetaSQLFunction.WEEK:
case ZetaSQLFunction.YEAR:
case ZetaSQLFunction.FROM_UNIXTIME:
return BasicType.STRING_TYPE;
case ZetaSQLFunction.SIGN:
return BasicType.INT_TYPE;
case ZetaSQLFunction.BIT_LENGTH:
Expand Down

0 comments on commit ac28d20

Please sign in to comment.