Fix: There is a shared expression in the virtual generated column, which causes an error

This commit is contained in:
yaojing624
2023-08-08 10:48:42 +00:00
committed by ob-robot
parent 81e0d5ca13
commit 2e28ad4ffa
4 changed files with 75 additions and 0 deletions

View File

@ -368,6 +368,8 @@ public:
ObRawExpr *from,
ObRawExpr *to,
const ObIArray<ObRawExpr*> *except_exprs = NULL);
static int contain_virtual_generated_column(ObRawExpr *&expr,
bool &is_contain_vir_gen_column);
static bool is_all_column_exprs(const common::ObIArray<ObRawExpr*> &exprs);
static int extract_set_op_exprs(const ObRawExpr *raw_expr,