You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2015/02/07 06:35:34 UTC

[jira] [Commented] (HIVE-9595) Test whether schema evolution using parquet is possible

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

Hive QA commented on HIVE-9595:
-------------------------------



{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/12696995/HIVE-9595.02.patch

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 7483 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_transform_acid
org.apache.hive.spark.client.TestSparkClient.testSyncRpc
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2693/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/2693/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-2693/

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: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12696995 - PreCommit-HIVE-TRUNK-Build

> Test whether schema evolution using parquet is possible
> -------------------------------------------------------
>
>                 Key: HIVE-9595
>                 URL: https://issues.apache.org/jira/browse/HIVE-9595
>             Project: Hive
>          Issue Type: Test
>          Components: File Formats, Tests
>    Affects Versions: 0.14.0, 0.13.1, 1.0.0
>            Reporter: Manuel Meßner
>            Priority: Trivial
>         Attachments: HIVE-9595.01.patch, HIVE-9595.02.patch
>
>
> With https://issues.apache.org/jira/browse/HIVE-7554 a unfortunate else branch was introduced to org.apache.hadoop.hive.ql.io.parquet.read.DataWritableReadSupport . That else branch fired an exception in case the parquet file schema had less fields than the table schema. So adding columns to a parquet backed table and query the added columns on old partitions wasn't possible anymore. Which was very unfortunate for my team. https://issues.apache.org/jira/browse/HIVE-7800 fixed that, see point 3 in Daniel Weeks' comment https://issues.apache.org/jira/browse/HIVE-7800?focusedCommentId=14158594&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14158594 .
> However Hive-7800 did not introduce a test case for that. I'd love to see one.
> Best,
> Manuel



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)