[BUGFIX] fix vector index delete in minimal mode

This commit is contained in:
skylhd 2024-09-20 11:18:32 +00:00 committed by ob-robot
parent ffa4025af4
commit 3b264eab24

View File

@ -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()));