Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: move aggregate_statistics to datafusion-physical-optimizer #11798

Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 51 additions & 36 deletions datafusion-cli/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ impl PhysicalOptimizerRule for LimitedDistinctAggregation {
mod tests {

use super::*;
use crate::physical_optimizer::aggregate_statistics::tests::TestAggregate;
use crate::physical_optimizer::enforce_distribution::tests::{
parquet_exec_with_sort, schema, trim_plan_display,
};
use crate::physical_optimizer::tests::aggregate_statistics::tests::TestAggregate;
use crate::physical_plan::aggregates::PhysicalGroupBy;
use crate::physical_plan::collect;
use crate::physical_plan::memory::MemoryExec;
Expand Down
4 changes: 3 additions & 1 deletion datafusion/core/src/physical_optimizer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
//! "Repartition" or "Sortedness"
//!
//! [`ExecutionPlan`]: crate::physical_plan::ExecutionPlan
pub mod aggregate_statistics;
mod tests {
pub mod aggregate_statistics;
}
pub mod coalesce_batches;
pub mod combine_partial_final_agg;
pub mod enforce_distribution;
Expand Down
Loading