Change in serdeproperties should update existing partitions
-----------------------------------------------------------

                 Key: HIVE-2454
                 URL: https://issues.apache.org/jira/browse/HIVE-2454
             Project: Hive
          Issue Type: Improvement
          Components: Metastore, Query Processor
    Affects Versions: 0.7.0
            Reporter: Maxime Brugidou
            Priority: Minor


If you do:

create external table test_table (
    id int)
partitioned by (day string)
row format serde 'org.apache.hadoop.contrib.serde2.RegexSerDe'
with serdeproperties (
    'input.regex' = '.* ([^ ]*)'
);

alter table test_table add partition (day='2011-09-01');

alter table test_table set serdeproperties  (
    'input.regex' = '(.*)'
);

alter table test_table add partition (day='2011-09-02');


The first partition will still use the older regex and the new one will use the 
new regex. It would be great if the change in serdeproperties was applied to 
existing partitions too.

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

        

Reply via email to