ALTER TABLE table_name DROP [IF EXISTS] PARTITION (partition_spec) [,PARTITION (partition_spec), ...]partition_spec:: partition_column = partition_col_value, partition_column = partition_col_value, ...
table_name
:需要的表名字。
partition_column
: 分区名。
partition_col_value
:分区值。ALTER TABLE page_view DROP PARTITION (dt='2008-08-08', country='us')ALTER TABLE `page_view` DROPPARTITION (`dt` = '2008-08-08', `country` = 'us'),PARTITION (`dt` = '2008-08-08', `country` = 'us'),PARTITION (`dt` = '2008-08-08', `country` = 'us')
本页内容是否解决了您的问题?