This is an automated email from the ASF dual-hosted git repository. airborne pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push: new 2dda72d3976 [Enhancement](inverted index) return OK instead of not supported in expr evaluate_inverted_index #41567 (#41577) 2dda72d3976 is described below commit 2dda72d39767b937087644ac804fa33c548f9458 Author: airborne12 <airborn...@gmail.com> AuthorDate: Wed Oct 9 15:54:56 2024 +0800 [Enhancement](inverted index) return OK instead of not supported in expr evaluate_inverted_index #41567 (#41577) 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 0b1b6805f2d..558b4f57eab 100644 --- a/be/src/vec/exprs/vexpr.h +++ b/be/src/vec/exprs/vexpr.h @@ -120,7 +120,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 d53ad821dcf..6cc5fad4922 100644 --- a/be/src/vec/functions/function.h +++ b/be/src/vec/functions/function.h @@ -195,8 +195,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: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org