You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vikram Dixit K (JIRA)" <ji...@apache.org> on 2013/09/16 23:03:53 UTC
[jira] [Updated] (HIVE-5297) Hive does not honor type for partition
columns
[ https://issues.apache.org/jira/browse/HIVE-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vikram Dixit K updated HIVE-5297:
---------------------------------
Attachment: HIVE-5297.1.patch
> Hive does not honor type for partition columns
> ----------------------------------------------
>
> Key: HIVE-5297
> URL: https://issues.apache.org/jira/browse/HIVE-5297
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Affects Versions: 0.11.0
> Reporter: Vikram Dixit K
> Assignee: Vikram Dixit K
> Attachments: HIVE-5297.1.patch
>
>
> Hive does not consider the type of the partition column while writing partitions. Consider for example the query:
> {noformat}
> create table tab1 (id1 int, id2 string) PARTITIONED BY(month string,day int) row format delimited fields terminated by ',';
> alter table tab1 add partition (month='June', day='second');
> {noformat}
> Hive accepts this query. However if you try to select from this table and insert into another expecting schema match, it will insert nulls instead.
--
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