Add a rule to force use das if has variable assignments in sql
This commit is contained in:
@ -537,6 +537,10 @@ int ObLogTableScan::extract_pushdown_filters(ObIArray<ObRawExpr*> &nonpushdown_f
|
||||
if (OB_FAIL(nonpushdown_filters.push_back(filters.at(i)))) {
|
||||
LOG_WARN("push UDF filter store non-pushdown filter failed", K(ret), K(i));
|
||||
}
|
||||
} else if (filters.at(i)->has_flag(CNT_ASSIGN_EXPR)) {
|
||||
if (OB_FAIL(nonpushdown_filters.push_back(filters.at(i)))) {
|
||||
LOG_WARN("push variable assign filter store non-pushdown filter failed", K(ret), K(i));
|
||||
}
|
||||
} else if (!get_index_back()) {
|
||||
if (OB_FAIL(scan_pushdown_filters.push_back(filters.at(i)))) {
|
||||
LOG_WARN("store pushdown filter failed", K(ret));
|
||||
|
||||
Reference in New Issue
Block a user