You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2017/03/15 19:36:41 UTC
[jira] [Commented] (ORC-157) Test failed due to timezone DST
[ https://issues.apache.org/jira/browse/ORC-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15926825#comment-15926825 ]
Owen O'Malley commented on ORC-157:
-----------------------------------
What is your timezone name? In particular, which file from /usr/share/zoneinfo is your local one (typically a link from /etc/localtime)?
I tried:
{code}
% export TZ=Europe/Kiev
% make clean package test
{code}
and it worked fine. I also tried Europe/Bucharest.
Can you include the output of the cmake run? In particular, I'm curious about whether HAS_PRE_1970 and HAS_POST_2038 failed or not.
> 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)