[
https://issues.apache.org/jira/browse/HIVE-5336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967448#comment-13967448
]
Hive QA commented on HIVE-5336:
-------------------------------
{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/12639900/HIVE-5336.3.patch
{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 5615 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_auto_sortmerge_join_16
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_bucket_num_reducers
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_infer_bucket_sort_map_operators
org.apache.hive.service.cli.thrift.TestThriftBinaryCLIService.testExecuteStatementAsync
{noformat}
Test results:
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/2231/testReport
Console output:
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/2231/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 exited with: TestsFailedException: 4 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12639900
> HCatSchema.remove(HCatFieldSchema hcatFieldSchema) should renumber the
> fieldPositionMap and the fieldPositionMap should not be cached by the end user
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-5336
> URL: https://issues.apache.org/jira/browse/HIVE-5336
> Project: Hive
> Issue Type: Bug
> Components: HCatalog
> Reporter: Hari Sankar Sivarama Subramaniyan
> Assignee: Hari Sankar Sivarama Subramaniyan
> Attachments: HIVE-5336.1.patch.txt, HIVE-5336.2.patch.txt,
> HIVE-5336.3.patch
>
>
> HCatSchema.remove currently does not renumber the fieldPositionMap which can
> be a problem when there are interleaving append() and remove() calls.
> 1. We should document that fieldPositionMap should not be cached by the
> end-user
> 2. We should make sure that the fieldPositionMap gets renumbered after
> remove() because HcatSchema.get will otherwise return wrong FieldSchemas.
--
This message was sent by Atlassian JIRA
(v6.2#6252)