Skip to content

Commit

Permalink
test: month is no longer a valid option for extract(timestamp)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbarua committed Aug 16, 2023
1 parent 0ce013a commit 577be51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void extract() {
rex.makeCall(
t(SqlTypeName.INTEGER),
SqlStdOperatorTable.EXTRACT,
ImmutableList.of(rex.makeFlag(TimeUnitRange.MONTH), c(10L, SqlTypeName.TIMESTAMP, 10))),
ImmutableList.of(rex.makeFlag(TimeUnitRange.HOUR), c(10L, SqlTypeName.TIMESTAMP, 10))),
func -> {},
false);
}
Expand Down

0 comments on commit 577be51

Please sign in to comment.