Fix core at cost-based rewrite in temp table query

This commit is contained in:
xianyu-w
2023-09-13 10:14:07 +00:00
committed by ob-robot
parent 9b0c76426b
commit e831a7f141
8 changed files with 255 additions and 178 deletions

View File

@ -1497,6 +1497,16 @@ public:
static bool find_superset(const ObRelIds &rel_ids,
const ObIArray<ObRelIds> &single_table_ids);
static int try_push_down_temp_table_filter(ObOptimizerContext &opt_ctx,
ObSqlTempTableInfo &temp_table_info,
ObRawExpr *&temp_table_filter,
ObRawExpr *&where_filter);
static int push_down_temp_table_filter(ObRawExprFactory &expr_factory,
ObSQLSessionInfo *session_info,
ObSqlTempTableInfo &temp_table_info,
ObRawExpr *&temp_table_filter,
ObSelectStmt *temp_table_query = NULL);
private:
//disallow construct
ObOptimizerUtil();