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

Jesus Camacho Rodriguez commented on HIVE-12029:
------------------------------------------------

[~pxiong], thanks for pointing it out. I think they should be complementary: 
this one deals with the way of fixing issue with duplicates, while I would just 
like to get the restriction of starting "_" for column names away.

> CTAS query can not use `_c` in the prefix of the column alias
> -------------------------------------------------------------
>
>                 Key: HIVE-12029
>                 URL: https://issues.apache.org/jira/browse/HIVE-12029
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-12029.01.patch
>
>
> The inconsistency sounds like a bug 
> {code}
> hive> create table t as select key as `_k1` from src;
> hive> desc t;
> OK
> _k1                 string
> Time taken: 0.037 seconds, Fetched: 1 row(s)
> hive> create table t as select key as `_c1` from src;
> hive> desc t;
> OK
> key                 string
> Time taken: 0.031 seconds, Fetched: 1 row(s)
> {code}



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

Reply via email to