[Improvement](runtime filter) Improve merge phase (#18828)

This commit is contained in:
Gabriel
2023-04-26 21:01:20 +08:00
committed by GitHub
parent 0271886c36
commit aabcab9dbe
20 changed files with 685 additions and 187 deletions

View File

@ -428,6 +428,7 @@ Status HashJoinNode::prepare(RuntimeState* state) {
ADD_TIMER(_build_phase_profile, "BuildTableConvertToPartitionedTime");
_build_rows_counter = ADD_COUNTER(_build_phase_profile, "BuildRows", TUnit::UNIT);
_build_side_compute_hash_timer = ADD_TIMER(_build_phase_profile, "BuildSideHashComputingTime");
_build_runtime_filter_timer = ADD_TIMER(_build_phase_profile, "BuildRuntimeFilterTime");
// Probe phase
auto probe_phase_profile = runtime_profile()->create_child("ProbePhase", true, true);
@ -441,7 +442,7 @@ Status HashJoinNode::prepare(RuntimeState* state) {
_join_filter_timer = ADD_TIMER(runtime_profile(), "JoinFilterTimer");
_push_down_timer = ADD_TIMER(runtime_profile(), "PushDownTime");
_push_down_timer = ADD_TIMER(runtime_profile(), "PublishRuntimeFilterTime");
_push_compute_timer = ADD_TIMER(runtime_profile(), "PushDownComputeTime");
_build_buckets_counter = ADD_COUNTER(runtime_profile(), "BuildBuckets", TUnit::UNIT);
_build_buckets_fill_counter = ADD_COUNTER(runtime_profile(), "FilledBuckets", TUnit::UNIT);