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 CA67F11AB7 for ; Tue, 19 Aug 2014 00:53:42 +0000 (UTC) Received: (qmail 81946 invoked by uid 500); 19 Aug 2014 00:53:42 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 81921 invoked by uid 500); 19 Aug 2014 00:53:42 -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 81912 invoked by uid 99); 19 Aug 2014 00:53:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2014 00:53:42 +0000 X-ASF-Spam-Status: No, hits=-2000.7 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; Tue, 19 Aug 2014 00:53:20 +0000 Received: (qmail 80757 invoked by uid 99); 19 Aug 2014 00:53:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Aug 2014 00:53:18 +0000 Date: Tue, 19 Aug 2014 00:53:18 +0000 (UTC) From: "Aman Sinha (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (DRILL-1310) Star select with join throws AssertionError MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DRILL-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aman Sinha reassigned DRILL-1310: --------------------------------- Assignee: Aman Sinha (was: Hanifi Gunes) > Star select with join throws AssertionError > ------------------------------------------- > > Key: DRILL-1310 > URL: https://issues.apache.org/jira/browse/DRILL-1310 > Project: Apache Drill > Issue Type: Bug > Reporter: Hanifi Gunes > Assignee: Aman Sinha > Fix For: 0.5.0 > > > Take two simple csv files: > {panel:title=t1.csv} > ID,Name,Lastname > 9711942,name0,last0 > 9707867,name1,last1 > {panel} > {panel:title=t2.csv} > ID,Case Number > 9711942,HX362083 > 9707867,HX357851 > {panel} > Making a simple join on them with a star projection: > {code:sql} > select * > from > dfs.`/path/to/t1.csv` t1, > dfs.`/path/to/t2.csv` t2 > where t1.columns[0] = t2.columns[0]; > {code} > throws > {panel} > java.lang.AssertionError: Unexpected project expression or reference. > at org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.classifyExpr(ProjectRecordBatch.java:597) > at org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.setupNewSchema(ProjectRecordBatch.java:260) > at org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext(AbstractSingleRecordBatch.java:66) > at org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext(ProjectRecordBatch.java:120) > at org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:95) > at org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:116) > at org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:75) > at org.apache.drill.exec.physical.impl.join.HashJoinBatch.executeBuildPhase(HashJoinBatch.java:307) > at org.apache.drill.exec.physical.impl.join.HashJoinBatch.innerNext(HashJoinBatch.java:196) > at org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:95) > at org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:116) > at org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:75) > at org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:65) > at org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext(AbstractSingleRecordBatch.java:45) > at org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext(ProjectRecordBatch.java:120) > at org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:95) > at org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:116) > {panel} -- This message was sent by Atlassian JIRA (v6.2#6252)