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

Method new_with_default_features

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

Returns a new [`SessionStateBuilder`] with default features. This is equivalent to calling [`Self::new()`] followed by [`Self::with_default_features()`]. ``` use datafusion::execution::session_state::SessionStateBuilder; // Create a new SessionState with default features let session_state = SessionStateBuilder::new_with_default_features() .with_session_id("my_session".to_string()) .build(); ```

()

Source from the content-addressed store, hash-verified

1220 /// .build();
1221 /// ```
1222 pub fn new_with_default_features() -> Self {
1223 Self::new().with_default_features()
1224 }
1225
1226 /// Set the session id.
1227 pub fn with_session_id(mut self, session_id: String) -> Self {

Callers

nothing calls this directly

Calls 2

newFunction · 0.85
with_default_featuresMethod · 0.80

Tested by

no test coverage detected