[bug]Join order changed when execute with the udf by different parallel hint

This commit is contained in:
akaError
2023-01-10 05:08:04 +00:00
committed by ob-robot
parent 040304870f
commit c0acd5e468
4 changed files with 11 additions and 1 deletions

View File

@ -499,6 +499,7 @@ enum PXParallelRule
MANUAL_TABLE_HINT, // /*+ parallel(t1 3) */
SESSION_FORCE_PARALLEL, // alter session force parallel query parallel 3;
MANUAL_TABLE_DOP, // create table t1 (...) parallel 3;
PL_UDF_DAS_FORCE_SERIALIZE, //stmt has_pl_udf will use das, force serialize;
MAX_OPTION
};
@ -513,6 +514,7 @@ inline const char *ob_px_parallel_rule_str(PXParallelRule px_parallel_ruel)
"MANUAL_TABLE_HINT",
"SESSION_FORCE_PARALLEL",
"MANUAL_TABLE_DOP",
"PL_UDF_DAS_FORCE_SERIALIZE",
"MAX_OPTION",
};
if (OB_LIKELY(px_parallel_ruel >= NOT_USE_PX)