Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-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 8240D18BE2 for ; Thu, 5 Nov 2015 04:03:28 +0000 (UTC) Received: (qmail 78276 invoked by uid 500); 5 Nov 2015 04:03:28 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 78253 invoked by uid 500); 5 Nov 2015 04:03:28 -0000 Mailing-List: contact issues-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 issues@drill.apache.org Received: (qmail 78146 invoked by uid 99); 5 Nov 2015 04:03:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2015 04:03:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DE1152C1F6B for ; Thu, 5 Nov 2015 04:03:27 +0000 (UTC) Date: Thu, 5 Nov 2015 04:03:27 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-4006) As json reader reads a field with empty lists, IOOB could happen 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/DRILL-4006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991082#comment-14991082 ] ASF GitHub Bot commented on DRILL-4006: --------------------------------------- GitHub user StevenMPhillips opened a pull request: https://github.com/apache/drill/pull/243 DRILL-4006: Reallocate offset vector in repeated vectors when index is beyond the current capacity You can merge this pull request into a Git repository by running: $ git pull https://github.com/StevenMPhillips/drill drill-4006 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/drill/pull/243.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #243 ---- commit e1d1dfefc000f7602971d602aa94d949117d8fa2 Author: Hsuan-Yi Chu Date: 2015-11-01T00:14:34Z DRILL-4006: Ensure the position of MapWriters is set This can help eliminate potential IOOB exception commit e997ecfd3fefac9c42c89f3b8aaeb2aa30a407ca Author: Steven Phillips Date: 2015-11-05T04:01:31Z DRILL-4006: Reallocate offset vector in repeated vectors when index is beyond the current capacity ---- > As json reader reads a field with empty lists, IOOB could happen > ---------------------------------------------------------------- > > Key: DRILL-4006 > URL: https://issues.apache.org/jira/browse/DRILL-4006 > Project: Apache Drill > Issue Type: Bug > Components: Storage - JSON > Reporter: Sean Hsuan-Yi Chu > Assignee: Sean Hsuan-Yi Chu > Attachments: a.json, b.json, c.json > > > If a field in a json file has many empty lists before a non-empty list, there could be an IOOB exception. > Running the following query on the folder with files in the attachment can reproduce the observation: > {code} > select a from`folder` > {code} > Exception: > org.apache.drill.common.exceptions.UserRemoteException: DATA_READ ERROR: index: 4448, length: 4 -- This message was sent by Atlassian JIRA (v6.3.4#6332)