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

Method with_runtime_env

datafusion/core/src/execution/session_state.rs:1465–1468  ·  view source on GitHub ↗

Set the [`RuntimeEnv`]

(mut self, runtime_env: Arc<RuntimeEnv>)

Source from the content-addressed store, hash-verified

1463
1464 /// Set the [`RuntimeEnv`]
1465 pub fn with_runtime_env(mut self, runtime_env: Arc<RuntimeEnv>) -> Self {
1466 self.runtime_env = Some(runtime_env);
1467 self
1468 }
1469
1470 /// Set a [`FunctionFactory`] to handle `CREATE FUNCTION` statements
1471 pub fn with_function_factory(

Callers 15

make_session_stateFunction · 0.45
new_with_config_rtMethod · 0.45
set_runtime_variableMethod · 0.45
custom_query_plannerFunction · 0.45
test_read_batchesFunction · 0.45
test_read_batches_emptyFunction · 0.45
runMethod · 0.45
try_new_for_test_fileMethod · 0.45
create_contextFunction · 0.45

Calls

no outgoing calls

Tested by 7

test_read_batchesFunction · 0.36
test_read_batches_emptyFunction · 0.36
runMethod · 0.36
try_new_for_test_fileMethod · 0.36
create_contextFunction · 0.36