snuyanzin commented on PR #17677:
URL: https://github.com/apache/flink/pull/17677#issuecomment-1115773186
Hi @matriv
thanks for your feedback, I added tests at
`flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/functions/TimeFunctionsITCase.java`
Also noticed another issue (ceiling, flooring of dates to anything lower
than `DAY` results to `1970-01-01` with some time):
```sql
SELECT CEIL(DATE '2021-11-04' TO MINUTE) AS `ceil`,
FLOOR(DATE '2021-11-04' TO MINUTE) AS `floor`;
```
Covered this case also in tests
--
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]