Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 3.1.0
-
ghx-label-6
Description
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.
Attachments
Issue Links
- relates to
-
IMPALA-11463 Support IF NOT EXISTS in alter table add columns for kudu table
- Closed