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

Fredy Wijaya resolved IMPALA-7832.
----------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.2.0

> Support IF NOT EXISTS in alter table add columns
> ------------------------------------------------
>
>                 Key: IMPALA-7832
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7832
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Frontend
>    Affects Versions: Impala 3.1.0
>            Reporter: Thomas Tauber-Marshall
>            Assignee: Fredy Wijaya
>            Priority: Minor
>              Labels: ramp-up
>             Fix For: Impala 3.2.0
>
>
> alter table <table_name> add [if not exists] columns (<name> <type> [, <name> 
> <type>...])
> would add the column only if a column of the same name does not already exist
> Probably worth checking out what other databases do in different situations, 
> eg. if the column already exists but with a different type, if "replace" is 
> used instead of "add", etc.



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

Reply via email to