hsyuan commented on a change in pull request #1077: [CALCITE-2818] EXTRACT 
returns wrong results for DATE and TIMESTAMP values before epoch
URL: https://github.com/apache/calcite/pull/1077#discussion_r263665463
 
 

 ##########
 File path: 
core/src/test/java/org/apache/calcite/sql/test/SqlOperatorBaseTest.java
 ##########
 @@ -6713,6 +6713,57 @@ private void checkNullOperand(SqlTester tester, String 
op) {
         "extract(microsecond from cast(null as time))");
   }
 
+  @Test public void testExtractWithDatesBeforeUnixEpoch() {
+    tester.checkScalar(
 
 Review comment:
   will do

----------------------------------------------------------------
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

Reply via email to