[FEAT MERGE]4_1_sql_feature

Co-authored-by: leslieyuchen <leslieyuchen@gmail.com>
Co-authored-by: Charles0429 <xiezhenjiang@gmail.com>
Co-authored-by: raywill <hustos@gmail.com>
This commit is contained in:
obdev
2023-01-28 16:01:26 +08:00
committed by ob-robot
parent 3080f2b66f
commit 2d19a9d8f5
846 changed files with 161957 additions and 116661 deletions

View File

@ -65,11 +65,6 @@ namespace sql
EXCHANGE_NUMBERING, // numbering exchange out for px
GEN_SIGNATURE, // generating plan signature
GEN_LOCATION_CONSTRAINT, //generate plan location constraint, used from plan cache
EXPLAIN_COLLECT_WIDTH, // explain calculate column width
EXPLAIN_WRITE_BUFFER, // explain write plan table
EXPLAIN_WRITE_BUFFER_OUTPUT, // explain write output and filters
EXPLAIN_WRITE_BUFFER_OUTLINE, // explain write outline
EXPLAIN_INDEX_SELECTION_INFO, // explain index selection info
EXTRACT_PARAMS_FOR_SUBPLAN, // extract params for subplan
/**
* alloc granule iterator after all other operation
@ -93,18 +88,12 @@ namespace sql
ALLOC_LINK,
GEN_LINK_STMT,
ALLOC_STARTUP_EXPR,
COPY_PART_EXPR,
ADJUST_SHARED_EXPR,
COLLECT_BATCH_EXEC_PARAM,
TRAVERSE_OP_END
};
struct CopyPartExprCtx {
common::ObSEArray<ObRawExpr*, 4> used_part_exprs_;
common::ObSEArray<ObRawExpr*, 4> cache_lookup_calc_part_id_exprs_;
common::ObSEArray<ObRawExpr*, 4> new_lookup_calc_part_id_exprs_;
};
struct NumberingCtx
{
NumberingCtx () :