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 36762188B1 for ; Thu, 10 Dec 2015 20:02:11 +0000 (UTC) Received: (qmail 1109 invoked by uid 500); 10 Dec 2015 20:02:11 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 1080 invoked by uid 500); 10 Dec 2015 20:02:11 -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 1061 invoked by uid 99); 10 Dec 2015 20:02:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2015 20:02:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F1A282C14DC for ; Thu, 10 Dec 2015 20:02:10 +0000 (UTC) Date: Thu, 10 Dec 2015 20:02:10 +0000 (UTC) From: "Suresh Ollala (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-3965) Index out of bounds exception in partition pruning 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-3965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Suresh Ollala updated DRILL-3965: --------------------------------- Fix Version/s: 1.3.0 > Index out of bounds exception in partition pruning > -------------------------------------------------- > > Key: DRILL-3965 > URL: https://issues.apache.org/jira/browse/DRILL-3965 > Project: Apache Drill > Issue Type: Bug > Components: Query Planning & Optimization > Reporter: Mehant Baid > Assignee: Mehant Baid > Fix For: 1.3.0 > > Attachments: DRILL-3965.patch > > > Hit IOOB while trying to perform partition pruning on a table that was created using CTAS auto partitioning with the below stack trace. > Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -8 > at java.lang.String.substring(String.java:1875) ~[na:1.7.0_79] > at org.apache.drill.exec.planner.DFSPartitionLocation.(DFSPartitionLocation.java:31) ~[drill-java-exec-1.2.0.jar:1.2.0] > at org.apache.drill.exec.planner.ParquetPartitionDescriptor.createPartitionSublists(ParquetPartitionDescriptor.java:126) ~[drill-java-exec-1.2.0.jar:1.2.0] > at org.apache.drill.exec.planner.AbstractPartitionDescriptor.iterator(AbstractPartitionDescriptor.java:53) ~[drill-java-exec-1.2.0.jar:1.2.0] > at org.apache.drill.exec.planner.logical.partition.PruneScanRule.doOnMatch(PruneScanRule.java:190) ~[drill-java-exec-1.2.0.jar:1.2.0] > at org.apache.drill.exec.planner.logical.partition.ParquetPruneScanRule$2.onMatch(ParquetPruneScanRule.java:87) ~[drill-java-exec-1.2.0.jar:1.2.0] > at org.apache.calcite.plan.volcano.VolcanoRuleCall.onMatch(VolcanoRuleCall.java:228) ~[calcite-core-1.4.0-drill-r5.jar:1.4.0-drill-r5] -- This message was sent by Atlassian JIRA (v6.3.4#6332)