You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Sean Hsuan-Yi Chu (JIRA)" <ji...@apache.org> on 2015/06/27 02:07:04 UTC

[jira] [Created] (DRILL-3408) CTAS partition by columns[i] from cdv fails

Sean Hsuan-Yi Chu created DRILL-3408:
----------------------------------------

             Summary: CTAS partition by columns[i] from cdv fails
                 Key: DRILL-3408
                 URL: https://issues.apache.org/jira/browse/DRILL-3408
             Project: Apache Drill
          Issue Type: Bug
          Components: Query Planning & Optimization
            Reporter: Sean Hsuan-Yi Chu
            Assignee: Jinfeng Ni


CTAS does not work when users try to partition by index on complex types.
For example,
create table `z` partition by columns[0] as select columns[0], columns[1], columns[2] from `t.csv`;

Will result into 
Error: PARSE ERROR: Encountered "columns" at line 1, column 31.

Query parser does not support it; We need to do it from here



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