Franky's Blog

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

Hive分区表添加列

1ALTER TABLE table_name 
2  [PARTITION partition_spec]                 -- (Note: Hive 0.14.0 and later)
3  ADD COLUMNS (col_name data_type [COMMENT col_comment], ...)
4  [CASCADE|RESTRICT]                         -- (Note: Hive 1.1.0 and later)
Read more →