hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-8746) ORC timestamp columns are sensitive to daylight savings time
Date Mon, 23 Mar 2015 03:25:10 GMT

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

Hive QA commented on HIVE-8746:
-------------------------------



{color:green}Overall{color}: +1 all checks pass

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12706425/HIVE-8746.4.patch

{color:green}SUCCESS:{color} +1 8330 tests passed

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3110/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3110/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-3110/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12706425 - PreCommit-HIVE-TRUNK-Build

> ORC timestamp columns are sensitive to daylight savings time
> ------------------------------------------------------------
>
>                 Key: HIVE-8746
>                 URL: https://issues.apache.org/jira/browse/HIVE-8746
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.11.0, 0.12.0, 0.13.0, 0.14.0, 1.0.0, 1.2.0, 1.1.0
>            Reporter: Owen O'Malley
>            Assignee: Prasanth Jayachandran
>         Attachments: HIVE-8746.1.patch, HIVE-8746.2.patch, HIVE-8746.3.patch, HIVE-8746.4.patch
>
>
> Hive uses Java's Timestamp class to manipulate timestamp columns. Unfortunately the textual
parsing in Timestamp is done in local time and the internal storage is in UTC.
> ORC mostly side steps this issue by storing the difference between the time and a base
time also in local and storing that difference in the file. Reading the file between timezones
will mostly work correctly "2014-01-01 12:34:56" will read correctly in every timezone.
> However, when moving between timezones with different daylight saving it creates trouble.
In particular, moving from a computer in PST to UTC will read "2014-06-06 12:34:56" as "2014-06-06
11:34:56".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message