提交 dffd24c7 编写于 作者: O obdev 提交者: wangzelin.wzl

[CP] fix query pushdown bug

上级 eb8952d1
......@@ -426,7 +426,7 @@ int ObTransformQueryPushDown::check_where_condition_push_down(
} else if (view_stmt->has_set_op() || view_stmt->has_limit() || view_stmt->has_window_function() ||
view_stmt->is_contains_assignment()) {
can_be = false;
} else if (view_stmt->has_group_by() || select_stmt->has_rollup()) {
} else if (view_stmt->has_group_by() || view_stmt->has_rollup()) {
bool is_invalid = false;
for (int64_t i = 0; OB_SUCC(ret) && !is_invalid && i < select_stmt->get_condition_size(); ++i) {
const ObRawExpr* cond_expr = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册