[FEAT MERGE]4_2_sql_feature

Co-authored-by: yinyj17 <yinyijun92@gmail.com>
Co-authored-by: xianyu-w <707512433@qq.com>
Co-authored-by: jingtaoye35 <1255153887@qq.com>
This commit is contained in:
zzg19950727
2023-04-28 11:12:11 +00:00
committed by ob-robot
parent 3bf92459f1
commit 3cada22bdc
161 changed files with 16883 additions and 4730 deletions

View File

@ -194,7 +194,8 @@ public:
common::ObAddr *self_addr,
ObPhysicalPlan *phy_plan,
ObExecContext &exec_ctx,
ObDMLStmt *&stmt);
ObDMLStmt *&stmt,
bool ignore_trace_event=false);
//optimize stmt, generate logical_plan
static int optimize_stmt(ObOptimizer &optimizer,
@ -376,6 +377,12 @@ private:
ObStmtNeedPrivs &stmt_need_privs,
ObStmtOraNeedPrivs &stmt_ora_need_privs);
int generate_stmt_with_reconstruct_sql(ObDMLStmt* &stmt,
ObPlanCacheCtx *pc_ctx,
ObSqlCtx &context,
ObResultSet &result,
ObPhysicalPlan *phy_plan);
//generate physical_plan
static int code_generate(ObSqlCtx &sql_ctx,
ObResultSet &result,