hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-4272) partition wise metadata does not work for text files
Date Tue, 02 Apr 2013 05:53:16 GMT

     [ 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.2.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, 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

Mime
View raw message