Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E444BDC3A for ; Fri, 28 Dec 2012 18:28:12 +0000 (UTC) Received: (qmail 41306 invoked by uid 500); 28 Dec 2012 18:28:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 41108 invoked by uid 500); 28 Dec 2012 18:28:12 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 41100 invoked by uid 500); 28 Dec 2012 18:28:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 41096 invoked by uid 99); 28 Dec 2012 18:28:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Dec 2012 18:28:12 +0000 Date: Fri, 28 Dec 2012 18:28:12 +0000 (UTC) From: "Mark Grover (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-3844) Unix timestamps don't seem to be read correctly from HDFS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Mark Grover created HIVE-3844: --------------------------------- Summary: Unix timestamps don't seem to be read correctly from HDFS Key: HIVE-3844 URL: https://issues.apache.org/jira/browse/HIVE-3844 Project: Hive Issue Type: Bug Components: Serializers/Deserializers Affects Versions: 0.8.1 Reporter: Mark Grover Assignee: Mark Grover Serega Shepak pointed out that something like {code} select cast(date_occurrence as timestamp) from xvlr_data limit 10 {code} where date_occurrence has BIGINT type (timestamp in milliseconds) works. But it doesn't work if the declared type is TIMESTAMP on column. The data in the date_occurence column in unix timestamp in millis. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira