[enhance](match) Support match query without inverted index (#19936)
This commit is contained in:
@ -609,6 +609,14 @@ Status VScanNode::_normalize_predicate(const VExprSPtr& conjunct_expr_root, VExp
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
if (pdt == PushDownType::ACCEPTABLE &&
|
||||
TExprNodeType::MATCH_PRED == cur_expr->node_type()) {
|
||||
// remaining it in the expr tree, in order to filter by function if the pushdown
|
||||
// match_predicate failed to apply inverted index in the storage layer
|
||||
output_expr = conjunct_expr_root; // remaining in conjunct tree
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
if (pdt == PushDownType::ACCEPTABLE && _is_key_column(slot->col_name())) {
|
||||
output_expr = nullptr;
|
||||
return Status::OK();
|
||||
|
||||
Reference in New Issue
Block a user