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

Method config

datafusion/core/src/test_util/parquet.rs:68–74  ·  view source on GitHub ↗

Returns a [`SessionConfig`] with the given options

(&self)

Source from the content-addressed store, hash-verified

66impl ParquetScanOptions {
67 /// Returns a [`SessionConfig`] with the given options
68 pub fn config(&self) -> SessionConfig {
69 let mut config = ConfigOptions::new();
70 config.execution.parquet.pushdown_filters = self.pushdown_filters;
71 config.execution.parquet.reorder_filters = self.reorder_filters;
72 config.execution.parquet.enable_page_index = self.enable_page_index;
73 config.into()
74 }
75}
76
77impl TestParquetFile {

Callers 12

remote_catalogFunction · 0.45
try_fromMethod · 0.45
test_multiple_configsFunction · 0.45
read_with_optionsMethod · 0.45
config_optionsMethod · 0.45
fromMethod · 0.45
newMethod · 0.45
createMethod · 0.45

Calls 2

newFunction · 0.85
intoMethod · 0.45

Tested by 3

test_multiple_configsFunction · 0.36
read_with_optionsMethod · 0.36