fix pre process bug when connect by and grouping sets both exist

This commit is contained in:
yinyj17
2023-02-24 15:36:22 +00:00
committed by ob-robot
parent a10ab13369
commit 7f1c5e8cd4

View File

@ -2454,6 +2454,8 @@ int ObTransformPreProcess::create_and_mock_join_view(ObSelectStmt &stmt)
LOG_WARN("failed to adjust pseudo column like exprs", K(ret));
} else if (OB_FAIL(stmt.formalize_stmt(session_info))) {
LOG_WARN("failed to formalize stmt", K(ret));
} else if (OB_FAIL(stmt.formalize_stmt_expr_reference())) {
LOG_WARN("failed to formalize stmt expr reference", K(ret));
}
}
// 12. ignore for temp table optimization