diff --git a/src/sql/code_generator/ob_dml_cg_service.cpp b/src/sql/code_generator/ob_dml_cg_service.cpp index 432c96ed7..79c2bfbe1 100644 --- a/src/sql/code_generator/ob_dml_cg_service.cpp +++ b/src/sql/code_generator/ob_dml_cg_service.cpp @@ -1832,6 +1832,9 @@ int ObDmlCgService::check_del_need_all_columns(ObLogDelUpd &op, // as multivalue need calc is need save rowkey, the save-rowkey policy is dynamic made, need project all columns need_all_columns = true; LOG_TRACE("delete from multivalue index table, need all columns", K(table_schema->is_multivalue_index_aux())); + } else if (table_schema->is_vec_index()) { + need_all_columns = true; + LOG_TRACE("delete from vector index table, need all columns", K(table_schema->get_index_type())); } else if (table_schema->is_heap_table()) { if (OB_FAIL(table_schema->has_not_null_unique_key(*schema_guard, has_not_null_uk))) { LOG_WARN("fail to check whether has not null unique key", K(ret), K(table_schema->get_table_name_str()));