[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:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user