You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Sean Hsuan-Yi Chu (JIRA)" <ji...@apache.org> on 2014/12/05 02:57:12 UTC

[jira] [Updated] (DRILL-1811) select A, * from ... crashes JVM

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

Sean Hsuan-Yi Chu updated DRILL-1811:
-------------------------------------
    Description: 
while "select *, A from ..." works,  select A, * from ... crashes JVM. 

As I discussed with Aman, the reason for the crash is because drill is not handling wildcard "*" correctly. So the operator Project "transfers" the requested column A to the output instead of "copy". 

So when drill is trying to project to the second operand in the select clause (i.e., "*" ), nothing will come out of that column. 

  was:
while "select *, A from ..." works,  select A, * from ... crashes JVM. 

As I discussed with Aman, the reason for the crash is because drill is not aware of the wildcard "*". So the operator Project "transfers" the requested column A to the output instead of "copy". 

So when drill is trying to project to the second operand in the select clause (i.e., "*" ), nothing will come out of that column. 


> select A, * from ... crashes JVM
> --------------------------------
>
>                 Key: DRILL-1811
>                 URL: https://issues.apache.org/jira/browse/DRILL-1811
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Operators
>            Reporter: Sean Hsuan-Yi Chu
>            Assignee: Sean Hsuan-Yi Chu
>            Priority: Blocker
>             Fix For: 0.8.0
>
>
> while "select *, A from ..." works,  select A, * from ... crashes JVM. 
> As I discussed with Aman, the reason for the crash is because drill is not handling wildcard "*" correctly. So the operator Project "transfers" the requested column A to the output instead of "copy". 
> So when drill is trying to project to the second operand in the select clause (i.e., "*" ), nothing will come out of that column. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)