hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rui Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14412) Add a timezone-aware timestamp
Date Mon, 08 Aug 2016 03:04:20 GMT

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

Rui Li commented on HIVE-14412:
-------------------------------

Here's the [console output|https://builds.apache.org/view/H-L/view/Hive/job/PreCommit-HIVE-MASTER-Build/785/console].
Seems it failed when building hive-ptest. I googled about the error and found some related
discussions: [link1|http://markmail.org/message/c7icqksbxcdxcots#query:+page:1+mid:uto57imdxbp2no2f+state:results],
[link2|https://github.com/google/gson/issues/819].
However I can't reproduce this locally with maven 3.3.9, and not sure why other tests don't
hit this error.
[~spena] do you know how to fix this? Thanks.

> Add a timezone-aware timestamp
> ------------------------------
>
>                 Key: HIVE-14412
>                 URL: https://issues.apache.org/jira/browse/HIVE-14412
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive
>            Reporter: Rui Li
>            Assignee: Rui Li
>         Attachments: HIVE-14412.1.patch, HIVE-14412.1.patch
>
>
> Java's Timestamp stores the time elapsed since the epoch. While it's by itself unambiguous,
ambiguity comes when we parse a string into timestamp, or convert a timestamp to string, causing
problems like HIVE-14305.
> To solve the issue, I think we should make timestamp aware of timezone.



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

Mime
View raw message