Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6C64F18594 for ; Sun, 10 Jan 2016 06:38:40 +0000 (UTC) Received: (qmail 67901 invoked by uid 500); 10 Jan 2016 06:38:40 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 67874 invoked by uid 500); 10 Jan 2016 06:38:40 -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 67861 invoked by uid 99); 10 Jan 2016 06:38:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jan 2016 06:38:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 266892C1F57 for ; Sun, 10 Jan 2016 06:38:40 +0000 (UTC) Date: Sun, 10 Jan 2016 06:38:40 +0000 (UTC) From: "Matt McCline (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-9862) Vectorized execution corrupts timestamp values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-9862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt McCline updated HIVE-9862: ------------------------------- Attachment: (was: HIVE-9862.04.patch) > Vectorized execution corrupts timestamp values > ---------------------------------------------- > > Key: HIVE-9862 > URL: https://issues.apache.org/jira/browse/HIVE-9862 > Project: Hive > Issue Type: Bug > Components: Vectorization > Affects Versions: 1.0.0 > Reporter: Nathan Howell > Assignee: Matt McCline > Attachments: HIVE-9862.01.patch, HIVE-9862.02.patch, HIVE-9862.03.patch, HIVE-9862.04.patch > > > Timestamps in the future (year 2250?) and before ~1700 are silently corrupted in vectorized execution mode. Simple repro: > {code} > hive> DROP TABLE IF EXISTS test; > hive> CREATE TABLE test(ts TIMESTAMP) STORED AS ORC; > hive> INSERT INTO TABLE test VALUES ('9999-12-31 23:59:59'); > hive> SET hive.vectorized.execution.enabled = false; > hive> SELECT MAX(ts) FROM test; > 9999-12-31 23:59:59 > hive> SET hive.vectorized.execution.enabled = true; > hive> SELECT MAX(ts) FROM test; > 1816-03-30 05:56:07.066277376 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)