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

depr: deprecate and warn on legacy udf usage #8617

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

ncclementi
Copy link
Contributor

This PR adds warnings for deprecation of ibis.legacy.udf for v9.0. I'm not super sure about the instead message for elementwise, suggestions are welcomed.

According to the issue, seems like we are not going to support analytic and reduction on the new system, hence the empty comment on instead

@ncclementi ncclementi self-assigned this Mar 11, 2024
@ncclementi
Copy link
Contributor Author

Whoops I forgot to add with pytest.warns(FutureWarning) in the corresponding tests. Coming right up

`

ibis/legacy/udf/vectorized.py Outdated Show resolved Hide resolved
ibis/legacy/udf/vectorized.py Outdated Show resolved Hide resolved
test: add pytests.warns to deprecated udfs

chore: remove examples of deprecated udfs
Copy link
Member

@cpcloud cpcloud left a comment

Choose a reason for hiding this comment

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

Thanks!

@cpcloud cpcloud added this to the 9.0 milestone Mar 12, 2024
@cpcloud cpcloud added refactor Issues or PRs related to refactoring the codebase deprecation Issues or PRs related to deprecating APIs labels Mar 12, 2024
@cpcloud cpcloud changed the title depr: deprecate warn legacy udf depr: deprecate and warn on legacy udf usage Mar 12, 2024
@cpcloud cpcloud merged commit e561889 into ibis-project:main Mar 12, 2024
82 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation Issues or PRs related to deprecating APIs refactor Issues or PRs related to refactoring the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate legacy UDF functionality
2 participants