drill-dev 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] [Created] (DRILL-3408) CTAS partition by columns[i] from cdv fails
Date Sat, 27 Jun 2015 00:07:04 GMT
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)

Mime
View raw message