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/08 23:11:12 UTC

[jira] [Commented] (DRILL-1778) expressions along with * in the select-clause makes drill return duplicated columns

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

Sean Hsuan-Yi Chu commented on DRILL-1778:
------------------------------------------

The operator could sometimes introduce weird behavior. DRILL-1825 showed similar problem. Things went wrong after I had added limit operator. 

> expressions along with * in the select-clause makes drill return duplicated columns
> -----------------------------------------------------------------------------------
>
>                 Key: DRILL-1778
>                 URL: https://issues.apache.org/jira/browse/DRILL-1778
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Operators
>         Environment: Embedded Mode
>            Reporter: Sean Hsuan-Yi Chu
>            Assignee: Aman Sinha
>
> *. The cases the operators pass through 
> 1. select *, upper(TABLE_NAME) from INFORMATION_SCHEMA.`TABLES`;
> 2. select upper(TABLE_NAME), * from INFORMATION_SCHEMA.`TABLES`;
> *. The cases the operators fail
> 1. select upper(first_name),* from cp.`employee.json` limit 2
> => upper(first_name) was repeated "twice". 
> 2. select *, upper(first_name) from cp.`employee.json` limit 2
> => Crashed JVM entirely



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