Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 90A0B200B6A for ; Mon, 8 Aug 2016 05:04:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8F1AA160AB1; Mon, 8 Aug 2016 03:04:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 09D15160A87 for ; Mon, 8 Aug 2016 05:04:21 +0200 (CEST) Received: (qmail 51343 invoked by uid 500); 8 Aug 2016 03:04:21 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 51328 invoked by uid 99); 8 Aug 2016 03:04:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2016 03:04:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 90C462C0003 for ; Mon, 8 Aug 2016 03:04:20 +0000 (UTC) Date: Mon, 8 Aug 2016 03:04:20 +0000 (UTC) From: "Rui Li (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-14412) Add a timezone-aware timestamp MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 08 Aug 2016 03:04:22 -0000 [ 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)