[FEAT MERGE] 4.3 optimizer enhancement

Co-authored-by: akaError <lzg020616@163.com>
This commit is contained in:
yinyj17
2024-02-07 23:05:57 +00:00
committed by ob-robot
parent 8d63652331
commit fd359dc4a4
50 changed files with 3205 additions and 1059 deletions

View File

@ -870,6 +870,9 @@ int ObTransformQueryPushDown::push_down_stmt_exprs(ObSelectStmt *select_stmt,
} else if (OB_FAIL(append(view_stmt->get_window_func_exprs(),
select_stmt->get_window_func_exprs()))) {
LOG_WARN("append select_stmt window func exprs to view stmt window func exprs failed", K(ret));
} else if (OB_FAIL(append(view_stmt->get_qualify_filters(),
select_stmt->get_qualify_filters()))) {
LOG_WARN("append select_stmt window func filters to view stmt window func filters failed", K(ret));
} else {
if (!view_stmt->is_from_pivot()) {
view_stmt->set_from_pivot(select_stmt->is_from_pivot());