mbutrovich commented on code in PR #7690:
URL: https://github.com/apache/datafusion-comet/pull/7690#discussion_r4635785369
##########
native/shuffle/src/bench_support.rs:
##########
@@ -119,3 +119,10 @@ impl BenchRepartitioner {
self.inner.shuffle_write()
}
}
+
+/// Maps each hash to its partition the way hash partitioning does.
+pub fn hash_partition_ids(hashes: &[u32], num_partitions: usize,
partition_ids: &mut [u32]) {
Review Comment:
Thanks, moved it next to pmod. Both multi_partition.rs sites call it, and
bench_support re-exports it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]