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] [Commented] (DRILL-1778) upper, lower operators sometimes fail the JVM or return duplicated columns
Date Wed, 03 Dec 2014 22:58:13 GMT

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

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

Interestingly, 
As stated, select upper(first_name),* from cp.`employee.json` limit 2 gives "upper(first_name)"
repeated twice

 But select upper(first_name),* from cp.`employee.json` (i.e., without limit operator) works.

> upper, lower operators sometimes fail the JVM or 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: Sean Hsuan-Yi Chu
>
> *. 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)

Mime
View raw message