[FEAT MERGE] column store ddl

Co-authored-by: AnimationFan <30674773338@qq.com>
Co-authored-by: simonjoylet <simonjoylet@gmail.com>
Co-authored-by: Monk-Liu <1152761042@qq.com>
This commit is contained in:
Charles0429
2023-12-18 14:13:53 +00:00
committed by ob-robot
parent 37fe7ce4eb
commit e99cc037cc
354 changed files with 29601 additions and 7742 deletions

View File

@ -209,8 +209,6 @@ bool ObTableHandleV2::is_valid() const
if (nullptr == table_) {
} else if (ObITable::is_memtable(table_type_)) {
bret = (nullptr != t3m_) ^ (nullptr != allocator_);
} else if (ObITable::is_ddl_mem_sstable(table_type_)) {
bret = nullptr != t3m_;
} else {
// all other sstables
bret = (meta_handle_.is_valid() ^ (nullptr != allocator_)) || lifetime_guaranteed_by_tablet_;
@ -501,7 +499,7 @@ int ObTableHandleV2::set_table(
OB_UNLIKELY(!ObITable::is_table_type_valid(table_type))) {
ret = OB_INVALID_ARGUMENT;
STORAGE_LOG(WARN, "invalid argument", K(ret), KP(table), KP(t3m), K(table_type));
} else if (OB_UNLIKELY(ObITable::is_sstable(table_type) && !ObITable::is_ddl_mem_sstable(table_type))) {
} else if (OB_UNLIKELY(ObITable::is_sstable(table_type))) {
ret = OB_INVALID_ARGUMENT;
STORAGE_LOG(ERROR, "sstable should not use this interface", K(ret), KP(table), K(table_type));
} else {