waitingkuo commented on code in PR #3455:
URL: https://github.com/apache/arrow-datafusion/pull/3455#discussion_r968906952


##########
datafusion/core/src/execution/context.rs:
##########
@@ -1130,7 +1131,7 @@ pub struct SessionConfig {
     /// Should DataFusion parquet reader using the predicate to prune data
     pub parquet_pruning: bool,
     /// Configuration options
-    pub config_options: ConfigOptions,
+    pub config_options: Arc<RwLock<ConfigOptions>>,

Review Comment:
   Change `SessionConfig.config_options` from `ConfigOptions` to 
`Arc<RwLock<ConfigOptions>`
   since
   1. we need to share this with `CatalogWithInformationSchema`
   2. allow to set config



-- 
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]

Reply via email to