disable nlj group rescan for some cases

This commit is contained in:
shibin-xu
2023-05-24 06:17:29 +00:00
committed by ob-robot
parent 5373a45d6d
commit 2724fef69d
2 changed files with 57 additions and 10 deletions

View File

@ -154,6 +154,7 @@ namespace sql
inline bool can_use_batch_nlj() const { return can_use_batch_nlj_; }
void set_can_use_batch_nlj(bool can_use) { can_use_batch_nlj_ = can_use; }
int check_and_set_use_batch();
int check_if_disable_batch(ObLogicalOperator* root);
void set_join_path(JoinPath *path) { join_path_ = path; }
JoinPath *get_join_path() { return join_path_; }
bool is_my_exec_expr(const ObRawExpr *expr);