[CP] diable pulling up where-subquery with order by
This commit is contained in:
parent
8ad6cf0d10
commit
39b136ca03
@ -11219,6 +11219,8 @@ int ObTransformUtils::check_correlated_exprs_can_pullup_for_set(const ObIArray<O
|
||||
if (subquery.get_set_op() != ObSelectStmt::UNION || subquery.is_recursive_union()) {
|
||||
//TODO: pullup correlated exprs for intersect and minus
|
||||
can_pullup = !subquery.is_set_distinct();
|
||||
} else if (subquery.has_order_by()) {
|
||||
can_pullup = false;
|
||||
}
|
||||
ObSEArray<ObRawExpr*, 4> left_select_exprs;
|
||||
ObSEArray<ObRawExpr*, 4> right_select_exprs;
|
||||
|
Loading…
x
Reference in New Issue
Block a user