MCPcopy Create free account
hub / github.com/apache/datafusion / from

Method from

datafusion/core/src/execution/context/mod.rs:2139–2141  ·  view source on GitHub ↗
(session: &SessionContext)

Source from the content-addressed store, hash-verified

2137/// Create a new task context instance from SessionContext
2138impl From<&SessionContext> for TaskContext {
2139 fn from(session: &SessionContext) -> Self {
2140 TaskContext::from(&*session.state.read())
2141 }
2142}
2143
2144impl From<SessionState> for SessionContext {

Callers

nothing calls this directly

Calls 2

readMethod · 0.80
into_state_builderMethod · 0.80

Tested by

no test coverage detected