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

refactor(udf): remove hierarchical usage of schema #9078

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

gforsyth
Copy link
Member

@gforsyth gforsyth commented Apr 29, 2024

I did not deprecate schema as we have elsewhere, because I don't think we can
determine the quoting behavior of the backend at UDF definition time, which
makes accepting dotted string paths harder.

BREAKING CHANGE: The schema parameter for UDF definition has been removed. A new catalog parameter has been added. Ibis uses the word database to refer to a collection of tables, and the word catalog to refer to a collection of databases. You can use a combination of catalog and database to specify a hierarchical location for the UDF.

@gforsyth gforsyth force-pushed the gil/udf_database_schema branch from 9380096 to 0f9fcc5 Compare April 29, 2024 19:12
BREAKING CHANGE: The `schema` parameter for UDF definition has been
removed. A new `catalog` parameter has been added.
Ibis uses the word database to refer to a collection of
tables, and the word catalog to refer to a collection of databases. You
can use a combination of `catalog` and `database` to specify a
hierarchical location for the UDF.
@gforsyth gforsyth force-pushed the gil/udf_database_schema branch from 0f9fcc5 to b42337d Compare April 29, 2024 19:55
@cpcloud cpcloud added this to the 9.0 milestone Apr 30, 2024
@cpcloud cpcloud merged commit f5d9084 into ibis-project:main Apr 30, 2024
83 checks passed
@cpcloud cpcloud added refactor Issues or PRs related to refactoring the codebase udf Issues related to user-defined functions breaking change Changes that introduce an API break at any level labels Apr 30, 2024
@gforsyth gforsyth deleted the gil/udf_database_schema branch April 30, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Changes that introduce an API break at any level refactor Issues or PRs related to refactoring the codebase udf Issues related to user-defined functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants