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] [Updated] (DRILL-1293) Select star column from a view that contains star column causes AssertionError
Date Wed, 13 Aug 2014 05:46:11 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aman Sinha updated DRILL-1293:
------------------------------

    Attachment: 0001-DRILL-1293-Fix-assertion-when-selecting-star-column-.patch

> 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
>            Reporter: Aman Sinha
>            Assignee: Aman Sinha
>         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)

Mime
View raw message