[ 
https://issues.apache.org/jira/browse/DRILL-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14100802#comment-14100802
 ] 

Jacques Nadeau commented on DRILL-1293:
---------------------------------------

resolved by 654c879 or earlier.

> Select star column from a view that contains star column causes AssertionError
> ------------------------------------------------------------------------------
>
>                 Key: DRILL-1293
>                 URL: https://issues.apache.org/jira/browse/DRILL-1293
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Operators
>    Affects Versions: 0.4.0
>            Reporter: Aman Sinha
>            Assignee: DrillCommitter
>             Fix For: 0.5.0
>
>         Attachments: 
> 0001-DRILL-1293-Fix-assertion-when-selecting-star-column-.patch
>
>
> The following view definition contains '*' column and selecting the '*' 
> column from it causes assertion error.   
> CREATE VIEW vt1 AS 
>   SELECT * FROM cp.`tpch/region.parquet` r, 
>                                cp.`tpch/nation.parquet` n
>   WHERE r.r_regionkey = n.n_regionkey;
> SELECT * FROM vt1;
> java.lang.AssertionError
>       
> org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.setupNewSchema(ProjectRecordBatch.java:286)
>  ~[classes/:na]
>       
> org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext(AbstractSingleRecordBatch.java:66)
>  ~[classes/:na]
>       
> org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext(ProjectRecordBatch.java:120)
>  ~[classes/:na]
>       
> org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:95)
>  ~[classes/:na]
>       
> org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:116)
>  ~[classes/:na]
>       
> org.apache.drill.exec.physical.impl.BaseRootExec.next(BaseRootExec.java:59) 
> ~[classes/:na]
>       
> org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.innerNext(ScreenCreator.java:98)
>  ~[classes/:na]



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to