diff --git a/src/rootserver/ddl_task/ob_column_redefinition_task.cpp b/src/rootserver/ddl_task/ob_column_redefinition_task.cpp index 4b53e8b432..36070951d6 100644 --- a/src/rootserver/ddl_task/ob_column_redefinition_task.cpp +++ b/src/rootserver/ddl_task/ob_column_redefinition_task.cpp @@ -331,6 +331,7 @@ int ObColumnRedefinitionTask::copy_table_indexes() // index is already built need_rebuild_index = false; } else { + create_index_arg.index_type_ = index_schema->get_index_type(); ObCreateDDLTaskParam param(tenant_id_, ObDDLType::DDL_CREATE_INDEX, table_schema, diff --git a/src/rootserver/ddl_task/ob_table_redefinition_task.cpp b/src/rootserver/ddl_task/ob_table_redefinition_task.cpp index 7f7645eaf8..b809f60c59 100755 --- a/src/rootserver/ddl_task/ob_table_redefinition_task.cpp +++ b/src/rootserver/ddl_task/ob_table_redefinition_task.cpp @@ -465,6 +465,7 @@ int ObTableRedefinitionTask::copy_table_indexes() // index is already built need_rebuild_index = false; } else { + create_index_arg.index_type_ = index_schema->get_index_type(); ObCreateDDLTaskParam param(tenant_id_, ObDDLType::DDL_CREATE_INDEX, table_schema,