[
https://issues.apache.org/jira/browse/HIVE-12029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pengcheng Xiong updated HIVE-12029:
-----------------------------------
Attachment: HIVE-12029.01.patch
> 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)