You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Andrey Morskoy (JIRA)" <ji...@apache.org> on 2017/03/16 09:14:42 UTC

[jira] [Updated] (ORC-157) Test failed due to timezone DST

     [ https://issues.apache.org/jira/browse/ORC-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Morskoy updated ORC-157:
-------------------------------
    Attachment: CMakeOutput.log
                CMakeError.log

> Test failed due to timezone DST
> -------------------------------
>
>                 Key: ORC-157
>                 URL: https://issues.apache.org/jira/browse/ORC-157
>             Project: ORC
>          Issue Type: Test
>          Components: tools
>    Affects Versions: 1.3.3
>            Reporter: Andrey Morskoy
>            Priority: Trivial
>         Attachments: CMakeError.log, CMakeOutput.log
>
>
> To reproduce:
> % mkdir build                                                                                                                                     
> % cd build                                                                                                                                        
> % cmake .. -DBUILD_JAVA=OFF                                                                                                                       
> % make package                                                                                                                                    
> % make test-out 
> Output is:
> [  FAILED  ] TestMatchParam/FileParam.Contents/20, where GetParam() = orc_split_elim.orc
>  1 FAILED TEST
> Sample line is:
> /storage/progs/src/orc-rel-release-1.3.3/tools/test/TestMatch.cc:149: Failure
> Value of: line
>   Actual: "{\"userid\": 100, \"string1\": \"zebra\", \"subtype\": 8, \"decimal1\": 0.000000, \"ts\": \"1969-12-31 17:04:10.0\"}"
> Expected: expectedLine
> Which is: "{\"userid\": 100, \"string1\": \"zebra\", \"subtype\": 8, \"decimal1\": 0.000000, \"ts\": \"1969-12-31 16:04:10.0\"}"
> wrong output at row 24999
> so ts: 1 hour difference
> I am at Ukraine (GMT+2 + DST). I could suppose, that as our DST change is at the end of march (while US changes in the beginning of March AFAIK) - something wrong with timestamp with timezone interpretation in this test - and probably after Ukraine moves to DST - effect will disappear. 
> So there is 2 weeks windows when this test could FAIL



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)