[FEAT MERGE] Full-text Search Index + [CP]Adaptive DAS Group Rescan + Json Multi-Value Index

Co-authored-by: saltonz <saltonzh@gmail.com>
Co-authored-by: pe-99y <315053752@qq.com>
Co-authored-by: JinmaoLi <ljm.csmaster@gmail.com>
This commit is contained in:
Tyshawn
2024-04-22 05:46:18 +00:00
committed by ob-robot
parent 3dd0008dc9
commit f1a6170c93
338 changed files with 28067 additions and 3880 deletions

View File

@ -259,6 +259,28 @@ int ObRawExprReplacer::visit(ObAggFunRawExpr &expr)
return ret;
}
int ObRawExprReplacer::visit(ObMatchFunRawExpr &expr)
{
int ret = OB_SUCCESS;
bool skip_expr = false;
if (OB_FAIL(check_skip_expr(expr, skip_expr))) {
LOG_WARN("failed to check skip expr");
} else if (!skip_expr) {
ObRawExpr *new_expr = NULL;
bool need_replace = false;
int64_t count = expr.get_param_count();
for (int64_t i = 0; OB_SUCC(ret) && i < count; ++i) {
if (OB_FAIL(check_need_replace(expr.get_param_expr(i), new_expr, need_replace))) {
LOG_WARN("failed to check need replace", K(ret));
} else if (need_replace) {
expr.get_param_expr(i) = new_expr;
replace_happened_ = true;
}
}
}
return ret;
}
int ObRawExprReplacer::visit(ObSysFunRawExpr &expr)
{
int ret = OB_SUCCESS;