drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Hsuan-Yi Chu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1811) select A, * from ... crashes JVM
Date Fri, 05 Dec 2014 01:57:12 GMT

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

Mime
View raw message