matriv commented on code in PR #17677:
URL: https://github.com/apache/flink/pull/17677#discussion_r862771216
##########
flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/planner/expressions/TemporalTypesTest.scala:
##########
@@ -708,10 +708,12 @@ class TemporalTypesTest extends ExpressionTestBase {
testSqlApi("CEIL(TIME '12:44:31' TO MINUTE)", "12:45:00")
testSqlApi("CEIL(TIME '12:44:31' TO HOUR)", "13:00:00")
- testSqlApi("FLOOR( DATE '2021-02-27' TO WEEK)", "2021-02-21")
- testSqlApi("FLOOR( DATE '2021-03-01' TO WEEK)", "2021-02-28")
- testSqlApi("CEIL( DATE '2021-02-27' TO WEEK)", "2021-02-28")
- testSqlApi("CEIL( DATE '2021-03-01' TO WEEK)", "2021-03-07")
+ testSqlApi("FLOOR(DATE '2021-02-27' TO DAY)", "2021-02-27")
Review Comment:
Can we also test the Table API?
--
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]