You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "comphead (via GitHub)" <gi...@apache.org> on 2023/04/25 19:34:02 UTC

[GitHub] [arrow-datafusion] comphead commented on a diff in pull request #6106: chore: Update api docs for `SessionContext`, `TaskContext`, etc

comphead commented on code in PR #6106:
URL: https://github.com/apache/arrow-datafusion/pull/6106#discussion_r1176955624


##########
datafusion/execution/src/runtime_env.rs:
##########
@@ -33,6 +33,15 @@ use url::Url;
 
 #[derive(Clone)]
 /// Execution runtime environment.
+///
+/// A [`RuntimeEnv`] can be created from a [`RuntimeConfig`] and
+/// stores state to be shared across multiple sessions. In most

Review Comment:
   Probably I'm wrong here, but not sure RuntimeEnv is shared between sessions.
   The runtime will be shared between queries within single session.
   But `SessionContext::new()` creates new session with new UUID and new runtime.



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org