[
https://issues.apache.org/jira/browse/HIVE-12029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15816904#comment-15816904
]
Pengcheng Xiong commented on HIVE-12029:
----------------------------------------
[~jcamachorodriguez] and [~ashutoshc], this may be related to what
[~jcamachorodriguez] mentioned today regarding the "_"
> 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)