Skip to content

Commit

Permalink
Modify ExprCoreType dependencies.
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Jan 24, 2023
1 parent c91e965 commit 50fbdc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public enum ExprCoreType implements ExprType {
DATE(STRING),
TIME(STRING),
DATETIME(STRING, DATE, TIME),
TIMESTAMP(STRING, DATE, TIME, DATETIME),
TIMESTAMP(STRING, DATETIME),
INTERVAL(UNDEFINED),

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ class WideningTypeRuleTest {
.put(STRING, DATETIME, 1)
.put(DATE, DATETIME, 1)
.put(TIME, DATETIME, 1)
.put(DATE, TIMESTAMP, 1)
.put(TIME, TIMESTAMP, 1)
.put(DATE, TIMESTAMP, 2)
.put(TIME, TIMESTAMP, 2)
.put(DATETIME, TIMESTAMP, 1)
.put(UNDEFINED, BYTE, 1)
.put(UNDEFINED, SHORT, 2)
Expand Down

0 comments on commit 50fbdc0

Please sign in to comment.