Franky's Blog

书山有路勤为径,学海无涯苦作舟……

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];
Read more →