Skip to content

Commit

Permalink
Chore: Move aggregate statistics optimizer test from core to optimi…
Browse files Browse the repository at this point in the history
…zer crate (#12783)

* move test from core to optimizer crate

Signed-off-by: jayzhan211 <[email protected]>

* cleanup

Signed-off-by: jayzhan211 <[email protected]>

* upd

Signed-off-by: jayzhan211 <[email protected]>

* clippy

Signed-off-by: jayzhan211 <[email protected]>

* fmt

Signed-off-by: jayzhan211 <[email protected]>

---------

Signed-off-by: jayzhan211 <[email protected]>
  • Loading branch information
jayzhan211 authored Oct 9, 2024
1 parent 29e9af2 commit d83b3b2
Show file tree
Hide file tree
Showing 6 changed files with 388 additions and 338 deletions.
6 changes: 4 additions & 2 deletions datafusion-cli/Cargo.lock

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

325 changes: 0 additions & 325 deletions datafusion/core/tests/physical_optimizer/aggregate_statistics.rs

This file was deleted.

1 change: 0 additions & 1 deletion datafusion/core/tests/physical_optimizer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// specific language governing permissions and limitations
// under the License.

mod aggregate_statistics;
mod combine_partial_final_agg;
mod limit_pushdown;
mod limited_distinct_aggregation;
Expand Down
6 changes: 6 additions & 0 deletions datafusion/physical-optimizer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,15 @@ rust-version = { workspace = true }
workspace = true

[dependencies]
arrow = { workspace = true }
arrow-schema = { workspace = true }
datafusion-common = { workspace = true, default-features = true }
datafusion-execution = { workspace = true }
datafusion-expr-common = { workspace = true, default-features = true }
datafusion-physical-expr = { workspace = true }
datafusion-physical-plan = { workspace = true }
itertools = { workspace = true }

[dev-dependencies]
datafusion-functions-aggregate = { workspace = true }
tokio = { workspace = true }
Loading

0 comments on commit d83b3b2

Please sign in to comment.