[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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user