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

Gang Tim Liu commented on HIVE-4272:
------------------------------------

+1
                
> 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, hive.4272.2.patch, 
> hive.4272.2.patch-nohcat
>
>
> 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

Reply via email to