Skip to content

Commit

Permalink
Improve formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrebnov committed Nov 5, 2024
1 parent 32da325 commit ef4c469
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions datafusion/execution/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,13 @@ impl SessionConfig {
/// It ensures the query layout remains simple and readable, relying on the underlying SQL engine to apply its own optimizations during execution.
///
/// [optimize_projections_preserve_existing_projections]: datafusion_common::config::OptimizerOptions::optimize_projections_preserve_existing_projections
pub fn with_optimize_projections_preserve_existing_projections(mut self, enabled: bool) -> Self {
self.options.optimizer.optimize_projections_preserve_existing_projections = enabled;
pub fn with_optimize_projections_preserve_existing_projections(
mut self,
enabled: bool,
) -> Self {
self.options
.optimizer
.optimize_projections_preserve_existing_projections = enabled;
self
}

Expand Down

0 comments on commit ef4c469

Please sign in to comment.