fix late materialization bug

This commit is contained in:
zl0
2021-09-24 19:19:08 +08:00
committed by wangzelin.wzl
parent bda3d4e6c5
commit 16b086a718
36 changed files with 496 additions and 201 deletions

View File

@ -4148,12 +4148,6 @@ int ObLogPlan::allocate_access_path(AccessPath* ap, ObLogicalOperator*& out_acce
}
}
if (OB_SUCC(ret)) {
if (OB_FAIL(append(scan->get_startup_exprs(), get_startup_filters()))) {
LOG_WARN("failed to append startup filters", K(ret));
}
}
if (OB_SUCC(ret)) {
if (ap->is_global_index_ && is_index_back) {
ObLogicalOperator* temp_op = NULL;
@ -5451,6 +5445,7 @@ int ObLogPlan::plan_tree_traverse(const TraverseOp& operation, void* ctx)
case EXPLAIN_WRITE_BUFFER_OUTPUT:
case EXPLAIN_WRITE_BUFFER_OUTLINE:
case EXPLAIN_INDEX_SELECTION_INFO:
case ALLOC_STARTUP_EXPR:
default:
break;
}