disable predicate moving into values_table_query

This commit is contained in:
jingtaoye35
2024-01-11 04:43:00 +00:00
committed by ob-robot
parent 5db554a63f
commit 4b1d2e6644
4 changed files with 16 additions and 3 deletions

View File

@ -311,7 +311,12 @@ int ObLogExprValues::allocate_expr_post(ObAllocExprContext &ctx)
LOG_WARN("failed to construct sequence values", K(ret));
} else if (OB_FAIL(mark_probably_local_exprs())) {
LOG_WARN("failed to mark local exprs", K(ret));
} else { /*do nothing*/ }
} else if (is_values_table_) { /* defence code */
if (OB_UNLIKELY(value_desc_.count() != get_output_exprs().count())) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("defence code, EXPRESSION request output_exprs equals to value_desc", K(ret));
}
}
return ret;
}