Skip to main content

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:

PrivilegeObjectNotes
ADMIN_PRIVDatabaseCurrently 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;