alamb commented on a change in pull request #1987:
URL: https://github.com/apache/arrow-datafusion/pull/1987#discussion_r825343004
##########
File path: datafusion/src/execution/context.rs
##########
@@ -1220,6 +1233,74 @@ impl FunctionRegistry for ExecutionContextState {
}
}
+/// Task Context Properties
+pub enum TaskProperties {
+ ///SessionConfig
+ SessionConfig(SessionConfig),
+ /// KV pairs
+ KVPairs(HashMap<String, String>),
+}
+
+/// Task Execution Context
+pub struct TaskContext {
+ /// Optional Task Identify
+ pub task_id: Option<String>,
+ /// Session Id
+ pub session_id: String,
+ /// Task settings
+ pub task_settings: TaskProperties,
Review comment:
```suggestion
pub properties: TaskProperties,
```
Maybe to be consistent with the type of the struct?
--
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]