Hive分区表修改字段
Change Column Name/Type/Position/Comment
1ALTER TABLE table_name [PARTITION partition_spec] CHANGE [COLUMN] col_old_name col_new_name column_type
2 [COMMENT col_comment] [FIRST|AFTER column_name] [CASCADE|RESTRICT];
Change Column Name/Type/Position/Comment
1ALTER TABLE table_name [PARTITION partition_spec] CHANGE [COLUMN] col_old_name col_new_name column_type
2 [COMMENT col_comment] [FIRST|AFTER column_name] [CASCADE|RESTRICT];