[BUG][Vectorized] fix replace_if_not_null in vectorized compaction (#9376)

This commit is contained in:
Gabriel
2022-05-07 17:16:54 +08:00
committed by GitHub
parent 98bfeaf560
commit 49890ce9aa
2 changed files with 122 additions and 8 deletions

View File

@ -53,9 +53,13 @@ void register_aggregate_function_replace_reader_load(AggregateFunctionSimpleFact
register_function("replace", AGG_LOAD_SUFFIX, create_aggregate_function_last<true, true>, true);
register_function("replace_if_not_null", AGG_READER_SUFFIX,
create_aggregate_function_first<false, true>, false);
create_aggregate_function_first_non_null_value<false, true>, false);
register_function("replace_if_not_null", AGG_READER_SUFFIX,
create_aggregate_function_first_non_null_value<true, true>, true);
register_function("replace_if_not_null", AGG_LOAD_SUFFIX,
create_aggregate_function_last<false, true>, false);
create_aggregate_function_last_non_null_value<false, true>, false);
register_function("replace_if_not_null", AGG_LOAD_SUFFIX,
create_aggregate_function_last_non_null_value<true, true>, true);
}
} // namespace doris::vectorized