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 5FF47200BCE for ; Fri, 2 Dec 2016 11:48:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5EAA4160B16; Fri, 2 Dec 2016 10:48:00 +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 ADF39160B27 for ; Fri, 2 Dec 2016 11:47:59 +0100 (CET) Received: (qmail 66375 invoked by uid 500); 2 Dec 2016 10:47:58 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 66318 invoked by uid 99); 2 Dec 2016 10:47:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2016 10:47:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8B2452C2A6C for ; Fri, 2 Dec 2016 10:47:58 +0000 (UTC) Date: Fri, 2 Dec 2016 10:47:58 +0000 (UTC) From: "Vitalii Diravka (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-5097) Need to change the default width of the timestamp vector MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 02 Dec 2016 10:48:00 -0000 Vitalii Diravka created DRILL-5097: -------------------------------------- Summary: Need to change the default width of the timestamp vector Key: DRILL-5097 URL: https://issues.apache.org/jira/browse/DRILL-5097 Project: Apache Drill Issue Type: Bug Components: Execution - Codegen Affects Versions: 1.9.0 Reporter: Vitalii Diravka Assignee: Vitalii Diravka Fix For: Future Need to change the default width of the timestamp vector from 8 byte to 12, since timestamp values can hold a new INT96 primitive type. Use case for it: Using store.parquet.reader.int96_as_timestamp gives IOOB whereas convert_from works. The below query succeeds: {code} select c, convert_from(d, 'TIMESTAMP_IMPALA') from dfs.`/drill/testdata/parquet_timestamp/spark_generated/d3`; {code} The below query fails: {code} 0: jdbc:drill:zk=10.10.100.190:5181> alter session set `store.parquet.reader.int96_as_timestamp` = true; +-------+---------------------------------------------------+ | ok | summary | +-------+---------------------------------------------------+ | true | store.parquet.reader.int96_as_timestamp updated. | +-------+---------------------------------------------------+ 1 row selected (0.231 seconds) 0: jdbc:drill:zk=10.10.100.190:5181> select c, d from dfs.`/drill/testdata/parquet_timestamp/spark_generated/d3`; Error: SYSTEM ERROR: IndexOutOfBoundsException: readerIndex: 0, writerIndex: 131076 (expected: 0 <= readerIndex <= writerIndex <= capacity(131072)) Fragment 0:0 [Error Id: bd94f477-7c01-420f-8920-06263212177b on qa-node190.qa.lab:31010] (state=,code=0) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)