hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2415) disallow partition column names when doing replace columns
Date Tue, 30 Aug 2011 05:24:38 GMT

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

Ashutosh Chauhan commented on HIVE-2415:
----------------------------------------

Won't doing validation in parser will result in two network calls, first to fetch the current
column info and then update. I am wondering if it will be better to do one call to metastore
which will first validate the columns and then do the update.

> disallow partition column names when doing replace columns
> ----------------------------------------------------------
>
>                 Key: HIVE-2415
>                 URL: https://issues.apache.org/jira/browse/HIVE-2415
>             Project: Hive
>          Issue Type: Bug
>            Reporter: He Yongqiang
>            Assignee: He Yongqiang
>         Attachments: HIVE-2415.1.patch
>
>
> alter table replace columns allows to add a column with the same name as partition column,
which introduced inconsistency. 
> We should disallow this. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message