fix distinct fd judgement bug

This commit is contained in:
yinyj17
2023-11-06 09:39:30 +00:00
committed by ob-robot
parent f4542583e7
commit d76e2df6ef
5 changed files with 73 additions and 48 deletions

View File

@ -1392,8 +1392,17 @@ public:
static int check_contain_batch_stmt_parameter(ObRawExpr* expr, bool &contain);
static int expr_calculable_by_exprs(const ObRawExpr *src_expr,
static int expr_calculable_by_exprs(ObRawExpr *src_expr,
const ObIArray<ObRawExpr*> &dst_exprs,
const bool need_check_contain,
const bool used_in_compare,
bool &is_calculable);
static int expr_calculable_by_exprs(ObRawExpr *src_expr,
const ObIArray<ObRawExpr*> &dst_exprs,
ObIArray<ObRawExpr*> &parent_exprs,
const bool need_check_contain,
const bool used_in_compare,
bool &is_calculable);
static int get_minset_of_exprs(const ObIArray<ObRawExpr *> &src_exprs,
ObIArray<ObRawExpr *> &min_set);