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/03 23:58:13 UTC
[jira] [Commented] (DRILL-1778) upper, lower operators sometimes
fail the JVM or return duplicated columns
[ 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)