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

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

GitHub user ykrips opened a pull request:

    https://github.com/apache/drill/pull/465

    DRILL-4583: Test fails on TestNewDateFunctions#testIsDate

    DRILL-4583: Test fails on TestNewDateFunctions#testIsDate
    
    - changed constructor parameters of joda datetime

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ykrips/drill DRILL-4583

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/465.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #465
    
----
commit a53da2ad7cd8be334469f818e20a4666e4bfcb31
Author: Jihun Kang <[email protected]>
Date:   2016-04-06T02:22:11Z

    DRILL-4583: Test fails on TestNewDateFunctions#testIsDate

----


> 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
(v6.3.4#6332)

Reply via email to