This is an automated email from the ASF dual-hosted git repository.
airborne pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 31b506c8cc7 [Enhancement](inverted index) return OK instead of not
supported in expr evaluate_inverted_index #41567 (#41578)
31b506c8cc7 is described below
commit 31b506c8cc7d5a13d8d866fef68650392b21d5fa
Author: airborne12 <[email protected]>
AuthorDate: Wed Oct 9 15:14:38 2024 +0800
[Enhancement](inverted index) return OK instead of not supported in expr
evaluate_inverted_index #41567 (#41578)
cherry pick from #41567
---
be/src/vec/exprs/vexpr.h | 2 +-
be/src/vec/functions/function.h | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/be/src/vec/exprs/vexpr.h b/be/src/vec/exprs/vexpr.h
index 3bc92850fe7..12004d7d9c1 100644
--- a/be/src/vec/exprs/vexpr.h
+++ b/be/src/vec/exprs/vexpr.h
@@ -117,7 +117,7 @@ public:
// execute current expr with inverted index to filter block. Given a
roaring bitmap of match rows
virtual Status evaluate_inverted_index(VExprContext* context, uint32_t
segment_num_rows) {
- return Status::NotSupported("Not supported
execute_with_inverted_index");
+ return Status::OK();
}
Status _evaluate_inverted_index(VExprContext* context, const
FunctionBasePtr& function,
diff --git a/be/src/vec/functions/function.h b/be/src/vec/functions/function.h
index c479815e96f..10d1da6348a 100644
--- a/be/src/vec/functions/function.h
+++ b/be/src/vec/functions/function.h
@@ -190,8 +190,7 @@ public:
const std::vector<vectorized::IndexFieldNameAndTypePair>&
data_type_with_names,
std::vector<segment_v2::InvertedIndexIterator*> iterators,
uint32_t num_rows,
segment_v2::InvertedIndexResultBitmap& bitmap_result) const {
- return Status::NotSupported("evaluate_inverted_index is not supported
in function: ",
- get_name());
+ return Status::OK();
}
/// Do cleaning work when function is finished, i.e., release state
variables in the
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]