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 compatibility for keywords #420

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

phofl
Copy link
Collaborator

@phofl phofl commented Nov 22, 2023

I don't have a good idea what we could do here. Renaming keywords makes testing with the dask test suite a PITA, but I also don't want to introduce too much debt.

We might want to consider a deprecation period in dask/dask instead so that we can switch over fresh to dask-expr when we enable dask-expr by default?

@mrocklin
Copy link
Member

Are there keywords aside from shuffle= that this protects against? Why is there a mismatch between dask/dask and dask-expr in this case?

@phofl
Copy link
Collaborator Author

phofl commented Nov 22, 2023

Only shuffle for now,

Some keywords were renamed when re-implementing stuff in dask-expr, most of them happened before my involvement, so not sure about the reasoning (that said I generally in favour of cleaning up names), cc @rjzamora

@mrocklin
Copy link
Member

My recommendation would be to just align dask-expr to dask/dask for these cases for now and use the names that we don't like, making a note of what we want to change. Then when we flip the switch we make a bunch of changes back to the names that we like. (better to do one big change than two medium changes)

@phofl
Copy link
Collaborator Author

phofl commented Nov 22, 2023

I would prefer adding the names we like to dask/dask now and raise a deprecation warning for the already existing names, these changes are trivial for users

@mrocklin
Copy link
Member

mrocklin commented Nov 22, 2023 via email

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.

2 participants