place holder : multivalue index build afterward

This commit is contained in:
obdev
2024-07-30 06:10:44 +00:00
committed by ob-robot
parent 2aff5eea34
commit f4249b7a85
4 changed files with 12 additions and 3 deletions

View File

@ -68,6 +68,8 @@ enum ObDDLType
DDL_DROP_MULVALUE_INDEX = 13,
DDL_DROP_VEC_INDEX = 14,
DDL_CREATE_VEC_INDEX = 15,
DDL_CREATE_MULTIVALUE_INDEX = 16,
///< @note tablet split.
DDL_AUTO_SPLIT_BY_RANGE = 100,
DDL_AUTO_SPLIT_NON_RANGE = 101,

View File

@ -66,7 +66,9 @@ OB_SERIALIZE_MEMBER(ObDASScanCtDef,
rowkey_exprs_,
table_scan_opt_,
doc_id_idx_,
vec_vid_idx_);
vec_vid_idx_,
multivalue_idx_,
multivalue_type_);
OB_DEF_SERIALIZE(ObDASScanRtDef)
{

View File

@ -52,7 +52,9 @@ public:
rowkey_exprs_(alloc),
table_scan_opt_(),
doc_id_idx_(-1),
vec_vid_idx_(-1)
vec_vid_idx_(-1),
multivalue_idx_(-1),
multivalue_type_(0)
{ }
//in das scan op, column described with column expr
virtual bool has_expr() const override { return true; }
@ -113,6 +115,8 @@ public:
ObTableScanOption table_scan_opt_;
int64_t doc_id_idx_;
int64_t vec_vid_idx_;
int64_t multivalue_idx_;
int32_t multivalue_type_;
};
struct ObDASScanRtDef : ObDASBaseRtDef

View File

@ -411,7 +411,8 @@ public:
uint64_t is_external_table_ : 1;
uint64_t is_fts_ddl_ : 1; // mark if ddl table is the fts index or fts doc word aux table.
uint64_t is_fts_index_aux_ : 1; // mark if ddl table is the fts index aux table.
uint64_t reserved_ : 51;
uint64_t is_multivalue_ddl_ : 1;
uint64_t reserved_ : 50;
};
};
int64_t tenant_id_col_idx_;