Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently, AlterTableOptions.addColumn() call allows only name, type and default value to be specified when a new column is added to an existing table. Hence, four API calls are needed in order to fully specify a column that includes column encoding, compression and desired block size. From a usability point of view it would be better if all possible options could be specified using a single call. Impala will make use of a such an API call so that users can specify new columns using a single ALTER TABLE statement.