[FEAT MERGE] OB Support XMLType

Co-authored-by: simonjoylet <simonjoylet@gmail.com>
This commit is contained in:
obdev
2023-04-28 03:45:10 +00:00
committed by ob-robot
parent 58bb3d34b7
commit 17abf2818a
405 changed files with 18839 additions and 1573 deletions

View File

@ -1635,6 +1635,8 @@ int ObDDLRedefinitionTask::sync_column_level_stats_info(common::ObMySQLTransacti
LOG_WARN("col is NULL", K(ret));
} else if (col->get_column_id() < OB_APP_MIN_COLUMN_ID) {
// bypass hidden column
} else if (col->is_udt_hidden_column()) {
// bypass udt hidden column
} else if (OB_FAIL(col_name_map.get(col->get_column_name_str(), new_col_name))) {
if (OB_ENTRY_NOT_EXIST == ret) {
// the column is not in column name map, meaning it is dropped in this ddl

View File

@ -37,6 +37,7 @@ public:
ObDDLTaskKey(const int64_t object_id, const int64_t schema_version);
~ObDDLTaskKey() = default;
uint64_t hash() const;
int hash(uint64_t &hash_val) const { hash_val = hash(); return OB_SUCCESS; }
bool operator==(const ObDDLTaskKey &other) const;
bool is_valid() const { return OB_INVALID_ID != object_id_ && schema_version_ > 0; }
int assign(const ObDDLTaskKey &other);
@ -53,6 +54,7 @@ public:
ObDDLTaskID(const uint64_t tenant_id, const int64_t task_id);
~ObDDLTaskID() = default;
uint64_t hash() const;
int hash(uint64_t &hash_val) const { hash_val = hash(); return OB_SUCCESS; }
bool operator==(const ObDDLTaskID &other) const;
bool operator!=(const ObDDLTaskID &other) const;
bool is_valid() const { return OB_INVALID_TENANT_ID != tenant_id_ && task_id_ > 0; }