From 9e9e0f295ea09ecd8076fec708fc4ba7b83ad0d4 Mon Sep 17 00:00:00 2001 From: simonjoylet Date: Wed, 7 Feb 2024 02:58:25 +0000 Subject: [PATCH] occupy table type for column store ddl --- src/storage/ob_i_table.cpp | 6 +++++- src/storage/ob_i_table.h | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/storage/ob_i_table.cpp b/src/storage/ob_i_table.cpp index 81633e65ab..9c9cc63102 100644 --- a/src/storage/ob_i_table.cpp +++ b/src/storage/ob_i_table.cpp @@ -70,7 +70,11 @@ const char* ObITable::table_type_name_[] = "COL_ORIENTED", "NORMAL_COL_GROUP", "ROWKEY_COL_GROUP", - "COL_ORIENTED_META" + "COL_ORIENTED_META", + "DDL_MERGE_CO", + "DDL_MERGE_CG", + "DDL_MEM_CO", + "DDL_MEM_CG" }; uint64_t ObITable::TableKey::hash() const diff --git a/src/storage/ob_i_table.h b/src/storage/ob_i_table.h index ee37e6f6aa..da55d0694c 100644 --- a/src/storage/ob_i_table.h +++ b/src/storage/ob_i_table.h @@ -97,6 +97,10 @@ public: NORMAL_COLUMN_GROUP_SSTABLE = 18, ROWKEY_COLUMN_GROUP_SSTABLE = 19, COLUMN_ORIENTED_META_SSTABLE = 20, + DDL_MERGE_CO_SSTABLE = 21, // used for column store ddl, for base sstable + DDL_MERGE_CG_SSTABLE = 22, // used for column store ddl, for normal cg sstable, rowkey cg not supported + DDL_MEM_CO_SSTABLE = 23, + DDL_MEM_CG_SSTABLE = 24, // < add new sstable before here, See is_sstable() MAX_TABLE_TYPE