CANCEL ALTER
Description
This statement is used to undo an ALTER operation.
撤销 ALTER TABLE COLUMN 操作 Grammar: CANCEL ALTER TABLE COLUMN FROM db_name.table_name
撤销 ALTER TABLE ROLLUP 操作 Grammar: CANCEL ALTER TABLE ROLLUP FROM db_name.table_name
batch cancel rollup by job id Grammar: CANCEL ALTER TABLE ROLLUP FROM db_name.table_name (jobid,…) Note: Batch cancel rollup job is a async operation, use
show alter table rollup
to see whether it executes successfullyOTHER CLUSTER Grammar: (To be realized…
example
[CANCEL ALTER TABLE COLUMN]
- 撤销针对 my_table 的 ALTER COLUMN 操作。 CANCEL ALTER TABLE COLUMN FROM example_db.my_table;
[CANCEL ALTER TABLE ROLLUP]
- 撤销 my_table 下的 ADD ROLLUP 操作。 CANCEL ALTER TABLE ROLLUP FROM example_db.my_table;
[CANCEL ALTER TABLE ROLLUP]
- cancel rollup alter job by job id CANCEL ALTER TABLE ROLLUP FROM example_db.my_table (12801,12802);
keyword
CANCEL,ALTER,TABLE,COLUMN,ROLLUP