hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-12825) select * may not work with ctas if there are duplicate column names in the "as select" query
Date Sat, 09 Jan 2016 02:55:40 GMT

     [ https://issues.apache.org/jira/browse/HIVE-12825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Shelukhin updated HIVE-12825:
------------------------------------
    Summary: select * may not work with ctas if there are duplicate column names in the "as
select" query  (was: select * may not work with ctas)

> select * may not work with ctas if there are duplicate column names in the "as select"
query
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-12825
>                 URL: https://issues.apache.org/jira/browse/HIVE-12825
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>
> > create table foo3 as select * from foo2 f1 cross join foo2 f2;
> Warning: Map Join MAPJOIN[7][bigTable=f1] in task 'Map 1' is a cross product
> FAILED: SemanticException [Error 10036]: Duplicate column name: f
> If the column names are not specified, ctas generates them; for select *, it should also
generate them if there are collisions.



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

Mime
View raw message