[opt](inverted index) mow supports index optimization #(#38180)

## Proposed changes

https://github.com/apache/doris/pull/37428
https://github.com/apache/doris/pull/37429

<!--Describe your changes.-->
This commit is contained in:
zzzxl
2024-08-06 11:18:13 +08:00
committed by GitHub
parent ab3057b2d4
commit ff6fa33021
6 changed files with 334 additions and 10 deletions

View File

@ -604,6 +604,8 @@ bool VExpr::fast_execute(Block& block, const ColumnNumbers& arguments, size_t re
size_t input_rows_count, const std::string& function_name) {
std::string result_column_name = gen_predicate_result_sign(block, arguments, function_name);
if (!block.has(result_column_name)) {
DBUG_EXECUTE_IF("segment_iterator.fast_execute",
{ return Status::Error<ErrorCode::INTERNAL_ERROR>("fast_execute failed"); })
return false;
}