We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be4d3f4 commit e3796f7Copy full SHA for e3796f7
datafusion/execution/src/config.rs
@@ -331,6 +331,14 @@ impl SessionConfig {
331
self
332
}
333
334
+ /// Prefer existing union (true). See [prefer_existing_union] for more details
335
+ ///
336
+ /// [prefer_existing_union]: datafusion_common::config::OptimizerOptions::prefer_existing_union
337
+ pub fn with_prefer_existing_union(mut self, enabled: bool) -> Self {
338
+ self.options.optimizer.prefer_existing_union = enabled;
339
+ self
340
+ }
341
+
342
/// Enables or disables the use of pruning predicate for parquet readers to skip row groups
343
pub fn with_parquet_pruning(mut self, enabled: bool) -> Self {
344
self.options.execution.parquet.pruning = enabled;
0 commit comments