alamb commented on code in PR #8292:
URL: https://github.com/apache/arrow-datafusion/pull/8292#discussion_r1401141984
##########
benchmarks/src/sort.rs:
##########
@@ -148,8 +148,9 @@ impl RunOpt {
println!("Executing '{title}' (sorting by: {expr:?})");
rundata.start_new_case(title);
for i in 0..self.common.iterations {
- let config =
-
SessionConfig::new().with_target_partitions(self.common.partitions);
+ let config = SessionConfig::new().with_target_partitions(
Review Comment:
I think SessionConfig already defaults to the number of CPUs, so we can
probably just avoid setting this at all if `self.common.partitions.is_none()`
--
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]