Skip to content

Commit

Permalink
Minor: make some physical_optimizer rules public (#11171)
Browse files Browse the repository at this point in the history
This patch makes public some physical_optimizer submodules. This allows
external code to use optimizations passes from these submodules.
  • Loading branch information
askalt authored Jun 29, 2024
1 parent 14d3973 commit 27d3aa6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/core/src/physical_optimizer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ pub mod limited_distinct_aggregation;
pub mod optimizer;
pub mod output_requirements;
pub mod pipeline_checker;
mod projection_pushdown;
pub mod projection_pushdown;
pub mod pruning;
pub mod replace_with_order_preserving_variants;
mod sort_pushdown;
pub mod topk_aggregation;
mod update_aggr_exprs;
pub mod update_aggr_exprs;
mod utils;

#[cfg(test)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ use datafusion_physical_plan::{
pub struct OptimizeAggregateOrder {}

impl OptimizeAggregateOrder {
#[allow(missing_docs)]
pub fn new() -> Self {
Self::default()
}
Expand Down

0 comments on commit 27d3aa6

Please sign in to comment.