fix ddl tables replace part expr with definition.

This commit is contained in:
obdev
2024-03-04 04:45:12 +00:00
committed by ob-robot
parent 73a920802c
commit 4eb2e0f7eb

View File

@ -12697,7 +12697,7 @@ int ObDMLResolver::check_index_table_has_partition_keys(const ObTableSchema *ind
if (OB_ISNULL(index_schema)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("index schema should not be null", K(ret));
} else {
} else if (index_schema->is_storage_local_index_table()) {
for (int64_t i = 0; OB_SUCC(ret) && has_part_key && i < partition_keys.get_size(); ++i) {
const ObColumnSchemaV2 *column_schema = nullptr;
uint64_t col_id = OB_INVALID_ID;