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

Use cube chunks for weights in aggregations with smart weights #6288

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

schlunma
Copy link
Contributor

🚀 Pull Request

Description

Use cube chunks for smart weights when broadcasting is necessary.

Closes #6285.


Consult Iris pull request check list


Add any of the below labels to trigger actions on this PR:

  • benchmark_this Request that this pull request be benchmarked to check if it introduces performance shifts

Comment on lines +408 to +409
these chunks. The values provided here will only be used along
dimensions that are not latitude or longitude.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I forgot to change this in #5658 (comment).

Comment on lines -1195 to -1196
# Note: chunks is simply ignored for non-lazy data
@pytest.mark.parametrize("chunks", [None, (2, 3)])
Copy link
Contributor Author

@schlunma schlunma Jan 16, 2025

Choose a reason for hiding this comment

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

chunks is not used here, and marks could never be applied to fixtures, so this can be safely removed.

@schlunma schlunma removed their assignment Jan 16, 2025
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.85%. Comparing base (331f012) to head (f930e05).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6288   +/-   ##
=======================================
  Coverage   89.85%   89.85%           
=======================================
  Files          88       88           
  Lines       23384    23387    +3     
  Branches     4356     4357    +1     
=======================================
+ Hits        21012    21015    +3     
  Misses       1646     1646           
  Partials      726      726           

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Use cube chunks for weights in aggregations with smart weights
1 participant