We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2d90d9 commit 0781affCopy full SHA for 0781aff
src/query/service/src/pipelines/processors/transforms/transform_partition_collect.rs
@@ -60,13 +60,13 @@ impl Exchange for HilbertPartitionExchange {
60
.unwrap()
61
.as_u_int64()
62
.unwrap();
63
- data_block.pop_columns(1);
64
65
// Scatter the data block to different partitions.
66
let indices = range_ids
67
.iter()
68
.map(|&id| (id % self.num_partitions as u64) as u16)
69
.collect::<Vec<_>>();
+ data_block.pop_columns(1);
70
let scatter_indices =
71
DataBlock::divide_indices_by_scatter_size(&indices, self.num_partitions);
72
// Partition the data blocks to different processors.
0 commit comments