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: Add reduce ComputeNode in new streaming engine #17389

Merged
merged 14 commits into from
Jul 17, 2024
Merged

Conversation

ritchie46
Copy link
Member

No description provided.

@ritchie46 ritchie46 changed the title wip: Add reduce refactor: Add reduce ComputeNode in new streaming engine Jul 17, 2024
@github-actions github-actions bot added internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars labels Jul 17, 2024
crates/Makefile Outdated
@@ -10,7 +10,7 @@ fmt: ## Run rustfmt and dprint

.PHONY: check
check: ## Run cargo check with all features
cargo check -p polars --all-features
cargo check -p polars --all-features -p polars-stream
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this supposed to be part of the PR?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe.. Then we can ensure that all warnings are fixed. But if CI doesn't like it, I will remove it.

crates/polars-stream/src/nodes/reduce.rs Show resolved Hide resolved
crates/polars-stream/src/nodes/reduce.rs Outdated Show resolved Hide resolved
crates/polars-stream/src/nodes/reduce.rs Outdated Show resolved Hide resolved
crates/polars-stream/src/nodes/reduce.rs Outdated Show resolved Hide resolved
Copy link

codecov bot commented Jul 17, 2024

Codecov Report

Attention: Patch coverage is 9.69267% with 382 lines in your changes missing coverage. Please review.

Project coverage is 80.45%. Comparing base (28d8196) to head (6c7d6ee).

Files Patch % Lines
crates/polars-expr/src/reduce/extrema.rs 0.00% 150 Missing ⚠️
crates/polars-stream/src/nodes/reduce.rs 0.00% 138 Missing ⚠️
crates/polars-expr/src/reduce/convert.rs 0.00% 49 Missing ⚠️
crates/polars-expr/src/reduce/mean.rs 0.00% 32 Missing ⚠️
crates/polars-expr/src/reduce/sum.rs 0.00% 5 Missing ⚠️
crates/polars-expr/src/reduce/mod.rs 0.00% 4 Missing ⚠️
crates/polars-core/src/datatypes/any_value.rs 0.00% 2 Missing ⚠️
crates/polars-core/src/scalar/reduce.rs 94.73% 1 Missing ⚠️
crates/polars-stream/src/physical_plan/lower_ir.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #17389      +/-   ##
==========================================
- Coverage   80.62%   80.45%   -0.18%     
==========================================
  Files        1490     1498       +8     
  Lines      195995   196415     +420     
  Branches     2789     2789              
==========================================
- Hits       158030   158028       -2     
- Misses      37452    37874     +422     
  Partials      513      513              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ritchie46 ritchie46 merged commit cffa970 into main Jul 17, 2024
21 checks passed
@ritchie46 ritchie46 deleted the reduce branch July 17, 2024 12:25
@c-peters c-peters added the accepted Ready for implementation label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants