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

Add cache argument to lower_once #1059

Merged
merged 8 commits into from
May 15, 2024
Merged

Conversation

rjzamora
Copy link
Member

@rjzamora rjzamora commented May 7, 2024

Adds simple logic to lower_once so that we avoid re-lowering an expression (and its children) multiple times.

Addresses the Expr.dask/compute component of #1055: ddf.dask is ~200 times faster for python-only reproducer.

@rjzamora rjzamora added the enhancement New feature or request label May 7, 2024
@rjzamora rjzamora self-assigned this May 7, 2024
@rjzamora rjzamora changed the title Add cache argument to lower_once Add cache argument to lower_once May 9, 2024
@rjzamora
Copy link
Member Author

rjzamora commented May 9, 2024

Any objections to this kind of change @fjetter ? We are already doing the same thing in simplify_once.

@charlesbluca
Copy link
Member

Opened dask-contrib/dask-sql#1332 to point to this patch to test if this unblocks the hanging tests

@fjetter fjetter merged commit 02ab754 into dask:main May 15, 2024
7 checks passed
@rjzamora rjzamora deleted the cache-lower_once branch May 15, 2024 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants