partition level properties honored if it exists
-----------------------------------------------

                 Key: HIVE-1354
                 URL: https://issues.apache.org/jira/browse/HIVE-1354
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Query Processor
            Reporter: Namit Jain


drop table partition_test_partitioned;

create table partition_test_partitioned(key string, value string) partitioned 
by (dt string);

alter table partition_test_partitioned set fileformat rcfile;
insert overwrite table partition_test_partitioned partition(dt=101) select * 
from src1;
show table extended like partition_test_partitioned partition(dt=101);

alter table partition_test_partitioned set fileformat Sequencefile;
insert overwrite table partition_test_partitioned partition(dt=102) select * 
from src1;
show table extended like partition_test_partitioned partition(dt=102);

insert overwrite table partition_test_partitioned partition(dt=101) select * 
from src1;
show table extended like partition_test_partitioned partition(dt=101);

drop table partition_test_partitioned;


Partition (dt=101) still points to RCFile, since it was created as a RCFile

-- 
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