[ 
https://issues.apache.org/jira/browse/DRILL-4583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16497366#comment-16497366
 ] 

ASF GitHub Bot commented on DRILL-4583:
---------------------------------------

ilooner commented on issue #465: DRILL-4583: Test fails on 
TestNewDateFunctions#testIsDate
URL: https://github.com/apache/drill/pull/465#issuecomment-393721223
 
 
   This issue was already addressed in 
https://github.com/apache/drill/pull/1247. So closing this.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Test fails on TestNewDateFunctions#testIsDate
> ---------------------------------------------
>
>                 Key: DRILL-4583
>                 URL: https://issues.apache.org/jira/browse/DRILL-4583
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Jihun Kang
>            Priority: Minor
>
> When supplying negative time millis from java date to joda datetime, joda 
> datetime does not correctly translate to the expected value. Here is error 
> log when running a single test case.
> {noformat}
> Running org.apache.drill.exec.fn.impl.TestNewDateFunctions#testIsDate
> java.lang.Exception: After matching 0 records, did not find expected record 
> in result set: `res1` : 1899-12-31T23:27:52.000+08:27:52, 
> Some examples of expected records:`res1` : 1899-12-31T23:27:52.000+08:27:52, 
> `res1` : 3500-01-01T00:00:00.000+09:00, 
> `res1` : 2000-12-31T00:00:00.000+09:00, 
> `res1` : null, 
> `res1` : null, 
> `res1` : null, 
>  Some examples of records returned by the test query:`res1` : 
> 1900-01-01T00:00:00.000+08:27:52, 
> `res1` : 3500-01-01T00:00:00.000+09:00, 
> `res1` : 2000-12-31T00:00:00.000+09:00, 
> `res1` : null, 
> `res1` : null, 
> `res1` : null, 
>       at 
> org.apache.drill.DrillTestWrapper.compareResults(DrillTestWrapper.java:640)
>       at 
> org.apache.drill.DrillTestWrapper.compareUnorderedResults(DrillTestWrapper.java:371)
>       at org.apache.drill.DrillTestWrapper.run(DrillTestWrapper.java:128)
>       at 
> org.apache.drill.exec.fn.impl.TestNewDateFunctions.testIsDate(TestNewDateFunctions.java:61)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at java.lang.reflect.Method.invoke(Method.java:606)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at java.lang.reflect.Method.invoke(Method.java:606)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to