[
https://issues.apache.org/jira/browse/HIVE-4272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Namit Jain updated HIVE-4272:
-----------------------------
Attachment: hive.4272.1.patch
> partition wise metadata does not work for text files
> ----------------------------------------------------
>
> Key: HIVE-4272
> URL: https://issues.apache.org/jira/browse/HIVE-4272
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Namit Jain
> Assignee: Namit Jain
> Attachments: hive.4272.1.patch
>
>
> The following test fails:
> set hive.input.format = org.apache.hadoop.hive.ql.io.CombineHiveInputFormat;
> -- This tests that the schema can be changed for binary serde data
> create table partition_test_partitioned(key string, value string)
> partitioned by (dt string) stored as textfile;
> insert overwrite table partition_test_partitioned partition(dt='1')
> select * from src where key = 238;
> select * from partition_test_partitioned where dt is not null;
> select key+key, value from partition_test_partitioned where dt is not null;
> alter table partition_test_partitioned change key key int;
> select key+key, value from partition_test_partitioned where dt is not null;
> select * from partition_test_partitioned where dt is not null;
> It works fine for a RCFile
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira