We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f588e9 commit 0f0d2a3Copy full SHA for 0f0d2a3
1 file changed
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