orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Morskoy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ORC-157) Test failed due to timezone DST
Date Tue, 14 Mar 2017 08:51:41 GMT
Andrey Morskoy created ORC-157:
----------------------------------

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


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)

Mime
View raw message