add for insert values statement split&rewrite batch optimization

This commit is contained in:
yishenglanlingzui
2023-08-14 15:12:40 +00:00
committed by ob-robot
parent 15934d24ac
commit 9b3f07d4ad
37 changed files with 1653 additions and 290 deletions

View File

@ -493,6 +493,8 @@ struct DistinctObjMeta
int transform_for_ins_batch_stmt(ObDMLStmt *batch_stmt, bool &trans_happened);
int transform_for_batch_stmt(ObDMLStmt *batch_stmt, bool &trans_happened);
int check_insert_can_batch(ObInsertStmt *insert_stmt, bool &can_batch);
int formalize_batch_stmt(ObDMLStmt *batch_stmt,
ObSelectStmt* inner_view_stmt,
const ObIArray<ObRawExpr *> &other_exprs,