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

Method default_from_session_config

datafusion/common/src/config.rs:2289–2292  ·  view source on GitHub ↗

Creates a new `TableOptions` instance initialized with settings from a given session config. # Parameters `config`: A reference to the session `ConfigOptions` from which to derive initial settings. # Returns A new `TableOptions` instance with settings applied from the session config.

(config: &ConfigOptions)

Source from the content-addressed store, hash-verified

2287 ///
2288 /// A new `TableOptions` instance with settings applied from the session config.
2289 pub fn default_from_session_config(config: &ConfigOptions) -> Self {
2290 let initial = TableOptions::default();
2291 initial.combine_with_session_config(config)
2292 }
2293
2294 /// Updates the current `TableOptions` with settings from a given session config.
2295 ///

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected