andygrove commented on a change in pull request #7951:
URL: https://github.com/apache/arrow/pull/7951#discussion_r470602850
##########
File path: rust/datafusion/src/execution/context.rs
##########
@@ -62,10 +62,31 @@ use crate::sql::{
};
use crate::table::Table;
+/// Configuration options for execution context
+#[derive(Copy, Clone)]
+pub struct ExecutionConfig {
+ /// Maximum number of concurrent threads for query execution
+ max_concurrency: usize,
+}
+
+impl ExecutionConfig {
+ /// Create an execution config with default settings
+ pub fn new() -> Self {
+ Self { max_concurrency: 2 }
Review comment:
Thanks. I have made this change.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]