You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2018/10/30 17:50:00 UTC

[jira] [Updated] (IMPALA-3109) For Avro table schema defined in tblproperties, add column should have no effect instead of writing to meta store

     [ https://issues.apache.org/jira/browse/IMPALA-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Armstrong updated IMPALA-3109:
----------------------------------
    Issue Type: Improvement  (was: Bug)

> For Avro table schema defined in tblproperties, add column should have no effect instead of writing to meta store
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-3109
>                 URL: https://issues.apache.org/jira/browse/IMPALA-3109
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Frontend
>    Affects Versions: Impala 2.2, Impala 2.3.0, Impala 2.5.0
>            Reporter: Huaisi Xu
>            Assignee: Huaisi Xu
>            Priority: Minor
>              Labels: supportability, usability
>
> {code:java}
> create external table d2 like functional_avro.tinytable;
> alter table d2 add columns (ff int); -> succeed
> Now second insert:
> alter table d2 add columns (ff int);
> RROR:
> ImpalaRuntimeException: Error making 'alter_table' RPC to Hive Metastore:
> CAUSED BY: MetaException: javax.jdo.JDODataStoreException: Add request failed : INSERT INTO "COLUMNS_V2" ("CD_ID","COMMENT","COLUMN_NAME","TYPE_NAME","INTEGER_IDX") VALUES (?,?,?,?,?)
> ...
> ...
> ...
> ... ( stack traces )
> {code}
> In hive the behavior seems like the add columns statement is ignored.
> We do not use meta data's version during the query stage and thus we should behave similar to Hive as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org