disable sample temp_table_ssid expr in dynamic sampling and disable print timeout error msg in inner sql

This commit is contained in:
wangt1xiuyi
2024-03-04 10:50:10 +00:00
committed by ob-robot
parent eef2f96aa5
commit c71007cee0
4 changed files with 6 additions and 3 deletions

View File

@ -1361,7 +1361,8 @@ int ObDynamicSamplingUtils::check_ds_can_use_filter(const ObRawExpr *filter,
filter->get_expr_type() == T_FUN_ENUM_TO_STR ||
filter->get_expr_type() == T_OP_GET_PACKAGE_VAR ||
(filter->get_expr_type() >= T_FUN_SYS_IS_JSON &&
filter->get_expr_type() <= T_FUN_SYS_TREAT)) {
filter->get_expr_type() <= T_FUN_SYS_TREAT) ||
filter->get_expr_type() == T_FUN_GET_TEMP_TABLE_SESSID) {
no_use = true;
} else if (filter->get_expr_type() == T_FUN_SYS_LNNVL) {
const ObRawExpr *real_expr = NULL;