[CP] to issue<52916428>:fix core when obj access expr as sql fliter expr

This commit is contained in:
hanr881
2023-11-15 11:10:36 +00:00
committed by ob-robot
parent 377c59a57e
commit d2dd4b65a1
6 changed files with 174 additions and 128 deletions

View File

@ -559,10 +559,11 @@ int ObLogTableScan::extract_pushdown_filters(ObIArray<ObRawExpr*> &nonpushdown_f
if (OB_FAIL(nonpushdown_filters.push_back(filters.at(i)))) {
LOG_WARN("push dynamic filter to store non-pushdown filter failed", K(ret), K(i));
}
} else if (filters.at(i)->has_flag(CNT_PL_UDF)) {
//User Define Function filter do not push down to storage
} else if (filters.at(i)->has_flag(CNT_PL_UDF) ||
filters.at(i)->has_flag(CNT_OBJ_ACCESS_EXPR)) {
//User Define Function/obj access expr filter do not push down to storage
if (OB_FAIL(nonpushdown_filters.push_back(filters.at(i)))) {
LOG_WARN("push UDF filter store non-pushdown filter failed", K(ret), K(i));
LOG_WARN("push UDF/obj access filter store non-pushdown filter failed", K(ret), K(i));
}
} else if (filters.at(i)->has_flag(CNT_DYNAMIC_USER_VARIABLE)
|| filters.at(i)->has_flag(CNT_ASSIGN_EXPR)) {