Skip to content

Commit

Permalink
[BugFix] fix local pass through problem (StarRocks#52836)
Browse files Browse the repository at this point in the history
Signed-off-by: before-Sunrise <unclejyj@gmail.com>
  • Loading branch information
before-Sunrise authored Nov 12, 2024
1 parent db9b8bb commit 44de1fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/exec/partition/partition_hash_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ struct PartitionHashMapBase {
auto partition_num = hash_map.size();
size_t partition_num_hwm = enable_pre_agg ? 32768 : 512;

if (enable_pre_agg && partition_num > partition_num_hwm && total_num_rows < 10000 * partition_num) {
if (partition_num > partition_num_hwm && total_num_rows < 10000 * partition_num) {
is_passthrough = true;
}
}
Expand Down

0 comments on commit 44de1fc

Please sign in to comment.