fix several subquery coalesce bugs

This commit is contained in:
jingtaoye35
2024-02-06 21:25:13 +00:00
committed by ob-robot
parent 992e10fee1
commit 87ad15465d
4 changed files with 53 additions and 30 deletions

View File

@ -255,7 +255,8 @@ int ObTransformSimplifySubquery::is_subquery_to_expr_valid(const ObSelectStmt *s
&& 0 == stmt->get_having_expr_size()
&& !stmt->has_limit()
&& !stmt->is_hierarchical_query()
&& !stmt->is_set_stmt()) {
&& !stmt->is_set_stmt()
&& !stmt->has_sequence()) {
is_valid = true;
}
if (OB_SUCC(ret) && is_valid) {