tshauck commented on code in PR #10847:
URL: https://github.com/apache/datafusion/pull/10847#discussion_r1632596084
##########
datafusion/core/src/execution/context/mod.rs:
##########
@@ -1249,8 +1249,18 @@ impl SessionContext {
Arc::new(TaskContext::from(self))
}
- /// Snapshots the [`SessionState`] of this [`SessionContext`] setting the
- /// `query_execution_start_time` to the current time
+ /// Return a new [`SessionState`] suitable for executing a single query.
+ ///
+ /// Notes:
+ ///
+ /// 1. `query_execution_start_time` us set to the current time for the
+ /// returned state
Review Comment:
```suggestion
/// returned state.
```
##########
datafusion/core/src/execution/context/mod.rs:
##########
@@ -1249,8 +1249,18 @@ impl SessionContext {
Arc::new(TaskContext::from(self))
}
- /// Snapshots the [`SessionState`] of this [`SessionContext`] setting the
- /// `query_execution_start_time` to the current time
+ /// Return a new [`SessionState`] suitable for executing a single query.
+ ///
+ /// Notes:
+ ///
+ /// 1. `query_execution_start_time` us set to the current time for the
Review Comment:
```suggestion
/// 1. `query_execution_start_time` is set to the current time for the
```
--
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]