[ https://issues.apache.org/jira/browse/HIVE-5297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13779608#comment-13779608 ]
Hive QA commented on HIVE-5297: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12605306/HIVE-5297.8.patch {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 3178 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_script_broken_pipe1 {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/923/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/923/console Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests failed with: TestsFailedException: 1 tests failed {noformat} This message is automatically generated. > 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-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