hive修改字段类型

修改字段类型

alter table 表名 change column 原字段名 现字段名 字段类型

hive修改表注释:

alter table  table_name set tblproperties('comment' = '表的新注释');

添加字段

alter table table_name add columns (column_1 string,column_2 int)

你可能感兴趣的:(hive)