bugfix: keep func extracted shared expr wrongly
This commit is contained in:
@ -3330,6 +3330,7 @@ bool ObAggFunRawExpr::inner_same_as(
|
||||
if (order_items_.count() == a_expr->order_items_.count()) {
|
||||
for (int64_t i = 0; bool_ret && i < order_items_.count(); ++i) {
|
||||
if(OB_ISNULL(order_items_.at(i).expr_) || OB_ISNULL(a_expr->order_items_.at(i).expr_)
|
||||
|| order_items_.at(i).order_type_ != a_expr->order_items_.at(i).order_type_
|
||||
|| !order_items_.at(i).expr_->same_as(*(a_expr->order_items_.at(i).expr_), check_context)) {
|
||||
bool_ret = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user