replace columns should not prohibit using partition column names.
-----------------------------------------------------------------

                 Key: HIVE-1522
                 URL: https://issues.apache.org/jira/browse/HIVE-1522
             Project: Hadoop Hive
          Issue Type: Bug
            Reporter: He Yongqiang


create table src_part_w(key int , value string) partitioned by (ds string, hr 
int);
alter table src_part_w  replace columns (key int, ds string, hr int, value 
string);

should not be allowed. Once the "alter table replace columns ..." is done, all 
commands on this table will fail. And not able to change the schema back.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to