Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion be/src/vec/exprs/vexpr.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class VExpr {

// 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();
Copy link
Contributor

@xiaokang xiaokang Oct 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add comment for semantics of just returning OK()

}

Status _evaluate_inverted_index(VExprContext* context, const FunctionBasePtr& function,
Expand Down
3 changes: 1 addition & 2 deletions be/src/vec/functions/function.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ class IFunctionBase {
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
Expand Down