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

Hudson commented on HIVE-5297:
------------------------------

SUCCESS: Integrated in Hive-trunk-hadoop1-ptest #183 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop1-ptest/183/])
HIVE-5297 Hive does not honor type for partition columns (Vikram Dixit via 
Harish Butani) (rhbutani: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1527024)
* /hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/TypeCheckProcFactory.java
* /hive/trunk/ql/src/test/queries/clientnegative/illegal_partition_type.q
* /hive/trunk/ql/src/test/queries/clientnegative/illegal_partition_type2.q
* /hive/trunk/ql/src/test/queries/clientpositive/alter_partition_coltype.q
* /hive/trunk/ql/src/test/queries/clientpositive/partition_type_check.q
* /hive/trunk/ql/src/test/results/clientnegative/alter_table_add_partition.q.out
* /hive/trunk/ql/src/test/results/clientnegative/alter_view_failure5.q.out
* /hive/trunk/ql/src/test/results/clientnegative/illegal_partition_type.q.out
* /hive/trunk/ql/src/test/results/clientnegative/illegal_partition_type2.q.out
* /hive/trunk/ql/src/test/results/clientpositive/alter_partition_coltype.q.out
* /hive/trunk/ql/src/test/results/clientpositive/partition_type_check.q.out

                
> 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
>             Fix For: 0.12.0
>
>         Attachments: HIVE-5297.1.patch, HIVE-5297.2.patch, HIVE-5297.3.patch, 
> HIVE-5297.4.patch, HIVE-5297.5.patch, HIVE-5297.6.patch, HIVE-5297.7.patch, 
> HIVE-5297.8.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. We 
> should throw an exception on such user error at the time the partition 
> addition/load happens.

--
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