fix pdml bug after or expansion transformation

This commit is contained in:
chimyue
2024-02-04 12:42:28 +00:00
committed by ob-robot
parent ed1e4d3f4f
commit f9a5d864fe
6 changed files with 37 additions and 27 deletions

View File

@ -424,6 +424,9 @@ int ObOptimizer::check_pdml_supported_feature(const ObDelUpdStmt &pdml_stmt,
static_cast< const ObInsertStmt &>(pdml_stmt).is_insert_up()) {
is_use_pdml = false;
ctx_.add_plan_note(PDML_DISABLED_BY_INSERT_UP);
} else if (pdml_stmt.is_pdml_disabled()) {
is_use_pdml = false;
ctx_.add_plan_note(PDML_DISABLED_BY_TRANSFORMATIONS);
} else if (ctx_.has_dblink()) {
is_use_pdml = false;
} else if (ctx_.contain_user_nested_sql()) {