fix transform window funtion formalization bug

This commit is contained in:
st0
2021-08-31 21:05:32 +08:00
committed by wangzelin.wzl
parent 5ea62a6393
commit 3a9172e384

View File

@ -914,6 +914,8 @@ int ObTransformWinMagic::wrap_case_when_if_necessary(
aggr_expr.clear_child();
if (OB_FAIL(aggr_expr.add_real_param_expr(case_expr))) {
LOG_WARN("failed to add real param expr", K(ret));
} else if (OB_FAIL(aggr_expr.formalize(ctx_->session_info_))) {
LOG_WARN("formalize failed", K(ret));
}
}
}