ADMIN SET TABLE STATUS
This statement is used to set the state of the specified table. Only supports OLAP tables.
This command is currently only used to manually set the OLAP table state to the specified state, allowing some jobs that are stuck by the table state to continue running.
grammar:
ADMIN SET TABLE table_name STATUS PROPERTIES ("key" = "value", ...);
The following properties are currently supported:
The current target states include:
- NORMAL
- ROLLUP
- SCHEMA_CHANGE
- BACKUP
- RESTORE
- WAITING_STABLE
If the current state of the table is already the specified state, it will be ignored.
Note: This command is generally only used for emergency fault repair, please proceed with caution.
admin set table tbl1 status properties("state" = "NORMAL");
admin set table test_set_table_status status properties("state" = "SCHEMA_CHANGE");
ADMIN, SET, TABLE, STATUS