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 DE61411874 for ; Sat, 2 Aug 2014 01:42:00 +0000 (UTC) Received: (qmail 31033 invoked by uid 500); 2 Aug 2014 01:42:00 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 31009 invoked by uid 500); 2 Aug 2014 01:42:00 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 31000 invoked by uid 99); 2 Aug 2014 01:42:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Aug 2014 01:42:00 +0000 X-ASF-Spam-Status: No, hits=-2000.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 02 Aug 2014 01:41:59 +0000 Received: (qmail 30532 invoked by uid 99); 2 Aug 2014 01:41:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Aug 2014 01:41:39 +0000 Date: Sat, 2 Aug 2014 01:41:38 +0000 (UTC) From: "Mehant Baid (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-1232) Query with 'where' clause with 'dir0' fails with UnsupportedOperationException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DRILL-1232?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Mehant Baid updated DRILL-1232: ------------------------------- Attachment: DRILL-1232.patch > Query with 'where' clause with 'dir0' fails with UnsupportedOperationExce= ption > -------------------------------------------------------------------------= ----- > > Key: DRILL-1232 > URL: https://issues.apache.org/jira/browse/DRILL-1232 > Project: Apache Drill > Issue Type: Bug > Reporter: Mehant Baid > Assignee: Mehant Baid > Fix For: 0.5.0 > > Attachments: DRILL-1232.patch > > > Consider the following directory structure: > /tmp/data/1993/a.csv > /tmp/data/1994/b.csb > select columns[0] from dfs.`/tmp/data` where dir0=3D1993 fails with Unsup= portedOperationException. Here is stack trace: > at=C2=A0com.google.common.collect.ImmutableCollection.remove(ImmutableCol= lection.java:106)=C2=A0~[guava-14.0.1.jar:na] > at=C2=A0org.apache.drill.exec.store.dfs.easy.EasyFormatPlugin.getReaderBa= tch(EasyFormatPlugin.java:133)=C2=A0~[drill-java-exec-0.4.0-incubating-SNAP= SHOT-rebuffed.jar:0.4.0-incubating-SNAPSHOT] > at=C2=A0org.apache.drill.exec.store.dfs.easy.EasyReaderBatchCreator.getBa= tch(EasyReaderBatchCreator.java:34)=C2=A0~[drill-java-exec-0.4.0-incubating= -SNAPSHOT-rebuffed.jar:0.4.0-incubating-SNAPSHOT] > at=C2=A0org.apache.drill.exec.store.dfs.easy.EasyReaderBatchCreator.getBa= tch(EasyReaderBatchCreator.java:27)=C2=A0~[drill-java-exec-0.4.0-incubating= -SNAPSHOT-rebuffed.jar:0.4.0-incubating-SNAPSHOT] > at=C2=A0org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreat= or.java:62)=C2=A0~[drill-java-exec-0.4.0-incubating-SNAPSHOT-rebuffed.jar:0= .4.0-incubating-SNAPSHOT] > at=C2=A0org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreat= or.java:39)=C2=A0~[drill-java-exec-0.4.0-incubating-SNAPSHOT-rebuffed.jar:0= .4.0-incubating-SNAPSHOT] > at=C2=A0org.apache.drill.exec.physical.base.AbstractPhysicalVisitor.visit= SubScan(AbstractPhysicalVisitor.java:113)=C2=A0~[drill-java-exec-0.4.0-incu= bating-SNAPSHOT-rebuffed.jar:0.4.0-incubating-SNAPSHOT] > at=C2=A0org.apache.drill.exec.physical.base.AbstractSubScan.accept(Abstra= ctSubScan.java:39)=C2=A0~[drill-java-exec-0.4.0-incubating-SNAPSHOT-rebuffe= d.jar:0.4.0-incubating-SNAPSHOT] > at=C2=A0org.apache.drill.exec.physical.impl.ImplCreator.getChildren(ImplC= reator.java:74)=C2=A0~[drill-java-exec-0.4.0-incubating-SNAPSHOT-rebuffed.j= ar:0.4.0-incubating-SNAPSHOT] > at=C2=A0org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreat= or.java:62)=C2=A0~[drill-java-exec-0.4.0-incubating-SNAPSHOT-rebuffed.jar:0= .4.0-incubating-SNAPSHOT] > at=C2=A0org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreat= or.java:39)=C2=A0~[drill-java-exec-0.4.0-incubating-SNAPSHOT-rebuffed.jar:0= .4.0-incubating-SNAPSHOT] > at=C2=A0org.apache.drill.exec.physical.base.AbstractPhysicalVisitor.visit= IteratorValidator(AbstractPhysicalVisitor.java:196)=C2=A0~[drill-java-exec-= 0.4.0-incubating-SNAPSHOT-rebuffed.jar:0.4.0-incubating-SNAPSHOT] > at=C2=A0org.apache.drill.exec.physical.config.IteratorValidator.accept(It= eratorValidator.java:34)=C2=A0~[drill-java-exec-0.4.0-incubating-SNAPSHOT-r= ebuffed.jar:0.4.0-incubating-SNAPSHOT] > at=C2=A0org.apache.drill.exec.physical.impl.ImplCreator.getChildren(ImplC= reator.java:74)=C2=A0~[drill-java-exec-0.4.0-incubating-SNAPSHOT-rebuffed.j= ar:0.4.0-incubating-SNAPSHOT] > =20 -- This message was sent by Atlassian JIRA (v6.2#6252)