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 6705417C32 for ; Thu, 30 Apr 2015 18:51:06 +0000 (UTC) Received: (qmail 54098 invoked by uid 500); 30 Apr 2015 18:51:06 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 54070 invoked by uid 500); 30 Apr 2015 18:51:06 -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 54060 invoked by uid 99); 30 Apr 2015 18:51:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 18:51:06 +0000 Date: Thu, 30 Apr 2015 18:51:05 +0000 (UTC) From: "Rahul Challapalli (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-2924) IOBException when querying a table which has 1 file and a subfolder with 1 file 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-2924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rahul Challapalli updated DRILL-2924: ------------------------------------- Attachment: data1.tar error.log > IOBException when querying a table which has 1 file and a subfolder with 1 file > ------------------------------------------------------------------------------- > > Key: DRILL-2924 > URL: https://issues.apache.org/jira/browse/DRILL-2924 > Project: Apache Drill > Issue Type: Bug > Components: Client - JDBC, Storage - JSON, Storage - Parquet > Reporter: Rahul Challapalli > Assignee: Daniel Barclay (Drill) > Attachments: data1.tar, error.log > > > git.commit.id.abbrev=5fbd274 > Below is the folder structure > Data Structure : > {code} > data1 > -- a.json > -- folder1 > -- b.json > {code} > Query : > {code} > 0: jdbc:drill:schema=dfs_eea> select * from `data1`; > +------------+---------------+-----------------+ > | dir0 | executionTime | stationBeanList | > +------------+---------------+-----------------+ > | folder1 | 2014-11-04 11:54:01 AM | [{"id":72,"stationName":"W 52 St & 11 Ave", .......... > java.lang.IndexOutOfBoundsException: index: -4, length: 4 (expected: range(0, 4)) > at io.netty.buffer.DrillBuf.checkIndexD(DrillBuf.java:200) > at io.netty.buffer.DrillBuf.chk(DrillBuf.java:222) > at io.netty.buffer.DrillBuf.getInt(DrillBuf.java:500) > at org.apache.drill.exec.vector.UInt4Vector$Accessor.get(UInt4Vector.java:299) > at org.apache.drill.exec.vector.complex.RepeatedMapVector$RepeatedMapAccessor.getValueCount(RepeatedMapVector.java:470) > at org.apache.drill.exec.vector.accessor.BoundCheckingAccessor.getObject(BoundCheckingAccessor.java:142) > at org.apache.drill.jdbc.impl.TypeConvertingSqlAccessor.getObject(TypeConvertingSqlAccessor.java:790) > at org.apache.drill.jdbc.AvaticaDrillSqlAccessor.getObject(AvaticaDrillSqlAccessor.java:165) > at net.hydromatic.avatica.AvaticaResultSet.getObject(AvaticaResultSet.java:351) > at sqlline.SqlLine$Rows$Row.(SqlLine.java:2388) > at sqlline.SqlLine$IncrementalRows.hasNext(SqlLine.java:2504) > at sqlline.SqlLine$TableOutputFormat.print(SqlLine.java:2148) > at sqlline.SqlLine.print(SqlLine.java:1809) > at sqlline.SqlLine$Commands.execute(SqlLine.java:3766) > at sqlline.SqlLine$Commands.sql(SqlLine.java:3663) > at sqlline.SqlLine.dispatch(SqlLine.java:889) > at sqlline.SqlLine.begin(SqlLine.java:763) > at sqlline.SqlLine.start(SqlLine.java:498) > at sqlline.SqlLine.main(SqlLine.java:460) > {code} > I attached the error log and the data file. Let me know if you need anything -- This message was sent by Atlassian JIRA (v6.3.4#6332)