chunweilei commented on a change in pull request #1099: [CALCITE-2908]
Implement SQL LAST_DAY function
URL: https://github.com/apache/calcite/pull/1099#discussion_r264490396
##########
File path:
core/src/test/java/org/apache/calcite/sql/test/SqlOperatorBaseTest.java
##########
@@ -5577,6 +5577,46 @@ private void checkNullOperand(SqlTester tester, String
op) {
}
}
+ @Test public void testLastDayFunc() {
+ tester.setFor(SqlStdOperatorTable.LAST_DAY);
+ tester.checkScalar("last_day(DATE '2019-02-10')",
Review comment:
I will add more tests about dates before 1970-01-01 .
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services