ALTER TABLE table_name [ PARTITION (partition_spec) ] SET LOCATION 'new location';
table_name: Data table namePARTITION (partition_spec): Specify the partitioning column.'new location': New location of the table or partition on Tencent Cloud COS.ALTER TABLE tbl PARTITION (a='1', b='2') SET LOCATION '/path/to/part/ways';ALTER TABLE tbl SET LOCATION '/path/to/part/ways';
Feedback