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

feat: deprecate opt_touch_all from map_partitions. #395

Conversation

douglasdavis
Copy link
Collaborator

@douglasdavis douglasdavis commented Oct 24, 2023

The opt_touch_all argument to map_partitions was added to make layers manually touchable (that is, tell the optimization code to not rely on the typetracer graph for touching in that layer, just touch all awkward data at that point). This allowed us to workaround operations where automatic typetracer touching wasn't working.

It was only used with dak.zip, but with the work on upstream typetracer and the optimization refactor here in dask-awkward, I think we're in a place now where we don't need it.

It's currently used in coffea, see: CoffeaTeam/coffea#915

@codecov-commenter
Copy link

codecov-commenter commented Oct 26, 2023

Codecov Report

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

Comparison is base (5b2580b) 93.82% compared to head (c11b57b) 93.76%.

Files Patch % Lines
src/dask_awkward/lib/core.py 66.66% 1 Missing ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #395      +/-   ##
==========================================
- Coverage   93.82%   93.76%   -0.06%     
==========================================
  Files          23       23              
  Lines        3158     3144      -14     
==========================================
- Hits         2963     2948      -15     
- Misses        195      196       +1     

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

@douglasdavis douglasdavis changed the title feat!: remove opt_touch_all from map_parititions. feat: deprecate opt_touch_all from map_parititions. Oct 27, 2023
@douglasdavis douglasdavis force-pushed the remove-opt-touch-all-from-map-partitions branch from 3765caa to 663bc5f Compare October 27, 2023 20:03
@douglasdavis douglasdavis force-pushed the remove-opt-touch-all-from-map-partitions branch from 663bc5f to dbb4f74 Compare November 7, 2023 16:44
@douglasdavis douglasdavis force-pushed the remove-opt-touch-all-from-map-partitions branch from dbb4f74 to cd3b51c Compare November 15, 2023 19:22
@douglasdavis douglasdavis marked this pull request as ready for review November 16, 2023 19:17
@agoose77
Copy link
Collaborator

@lgray can we merge this and bump coffea?

@agoose77 agoose77 changed the title feat: deprecate opt_touch_all from map_parititions. feat: deprecate opt_touch_all from map_partitions. Nov 21, 2023
@agoose77
Copy link
Collaborator

@lgray has given this the green light!

@agoose77 agoose77 merged commit 26c5031 into dask-contrib:main Nov 21, 2023
23 checks passed
@douglasdavis douglasdavis deleted the remove-opt-touch-all-from-map-partitions branch November 21, 2023 20:00
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.

3 participants