fix pushdown none const filter bug

This commit is contained in:
zzg19950727
2023-08-04 02:54:19 +00:00
committed by ob-robot
parent 78c6cbd670
commit 43474aa72e
2 changed files with 15 additions and 9 deletions

View File

@ -960,9 +960,7 @@ int ObLogPlan::pre_process_quals(const ObIArray<TableItem*> &table_items,
} else if (qual->is_const_expr()) {
ret = add_startup_filter(qual);
} else if (qual->has_flag(CNT_RAND_FUNC) ||
qual->has_flag(CNT_USER_VARIABLE) ||
qual->has_flag(CNT_PL_UDF) ||
qual->has_flag(CNT_SO_UDF)) {
qual->has_flag(CNT_USER_VARIABLE)) {
ret = add_special_expr(qual);
} else if (ObOptimizerUtil::has_hierarchical_expr(*qual)) {
ret = normal_quals.push_back(qual);