hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13780) Allow user to update AVRO table schema via command even if table's definition was defined through schema file
Date Thu, 23 Feb 2017 00:24:44 GMT

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

Hive QA commented on HIVE-13780:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12854015/HIVE-13780.2.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 10254 tests executed
*Failed tests:*
{noformat}
TestDerbyConnector - did not produce a TEST-*.xml file (likely timed out) (batchId=235)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=223)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3703/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3703/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3703/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
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: 12854015 - PreCommit-HIVE-Build

> Allow user to update AVRO table schema via command even if table's definition was defined
through schema file
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-13780
>                 URL: https://issues.apache.org/jira/browse/HIVE-13780
>             Project: Hive
>          Issue Type: Improvement
>          Components: CLI
>    Affects Versions: 2.0.0
>            Reporter: Eric Lin
>            Assignee: Adam Szita
>            Priority: Minor
>         Attachments: HIVE-13780.0.patch, HIVE-13780.1.patch, HIVE-13780.2.patch
>
>
> If a table is defined as below:
> {code}
> CREATE TABLE test
> STORED AS AVRO 
> TBLPROPERTIES ('avro.schema.url'='/tmp/schema.json');
> {code}
> if user tries to run command:
> {code}
> ALTER TABLE test CHANGE COLUMN col1 col1 STRING COMMENT 'test comment';
> {code}
> The query will return without any warning, but has no affect to the table.
> It would be good if we can allow user to ALTER table (add/change column, update comment
etc) even though the schema is defined through schema file.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message