drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aman Sinha (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (DRILL-1310) Star select with join throws AssertionError
Date Tue, 19 Aug 2014 00:53:18 GMT

     [ 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)

Mime
View raw message