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

fix: pass keys to column optimisation #430

Merged
merged 10 commits into from
Jan 18, 2024
Merged

Conversation

agoose77
Copy link
Collaborator

@agoose77 agoose77 commented Dec 2, 2023

@douglasdavis I think this fixes #426.

However, I changed the type hints and made a subtle change to appease the type checker. I'm not convinced it's correct and would appreciate your input. I'll tag you at the edit site.

In our tests we assume that we can pass in keys=[]. Is that supposed to be the way that dask.optimize is used?

src/dask_awkward/lib/inspect.py Show resolved Hide resolved
src/dask_awkward/lib/optimize.py Show resolved Hide resolved
src/dask_awkward/lib/optimize.py Show resolved Hide resolved
@douglasdavis
Copy link
Collaborator

douglasdavis commented Jan 18, 2024

Alright this is getting close. It fixes #426 which was the goal. Just need to get a test in that doesn't depend on coffea. ✅

@codecov-commenter
Copy link

codecov-commenter commented Jan 18, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (6adec1a) 93.10% compared to head (6b4c3b0) 93.08%.

Files Patch % Lines
src/dask_awkward/lib/optimize.py 96.87% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #430      +/-   ##
==========================================
- Coverage   93.10%   93.08%   -0.03%     
==========================================
  Files          23       23              
  Lines        3279     3283       +4     
==========================================
+ Hits         3053     3056       +3     
- Misses        226      227       +1     

☔ 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Column optimization breaks in case of computing function of records in addition to exploded records?
4 participants