SHOW CONVERT LIGHT SCHEMA CHANGE PROCESS
Descriptionβ
Used to view the conversion process of non-light schema change OLAP tables to light schema change tables.
Syntaxβ
SHOW CONVERT_LIGHT_SCHEMA_CHANGE_PROCESS [ FROM <db_name> ]
Optional parametersβ
1. <db_name>
The name of the database to be queried can be specified in the FROM clause.
Access Control Requirementsβ
The user who executes this SQL command must have at least the following permissions:
Privilege | Object | Notes |
---|---|---|
ADMIN_PRIV | Database | Currently only supports ADMIN permissions to perform this operation |
Usage Notesβ
- To execute this statement, you need to enable the configuration
enable_convert_light_weight_schema_change
.
Examplesβ
-
View the conversion on database test
SHOW CONVERT_LIGHT_SCHEMA_CHANGE_PROCESS FROM test;
-
View global conversion status
SHOW CONVERT_LIGHT_SCHEMA_CHANGE_PROCESS;