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

opt: remove Metadata.AllUserDefinedFunctions #107673

Merged

Conversation

mgartner
Copy link
Collaborator

@mgartner mgartner commented Jul 26, 2023

The metadata method AllUserDefinedFunctions has been replaced with a
new function HasUserDefinedFunctions which provides a simpler API
without exposing the underlying UDF dependency map. The map is still
available outside of the opt package via the TestingUDFDeps method
which is designed for testing use only.

Epic: None

Release note: None

@mgartner mgartner requested a review from DrewKimball July 26, 2023 21:51
@mgartner mgartner requested a review from a team as a code owner July 26, 2023 21:51
@blathers-crl
Copy link

blathers-crl bot commented Jul 26, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@DrewKimball DrewKimball left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @mgartner)


-- commits line 4 at r1:
[nit] mthoed -> method

@mgartner mgartner force-pushed the remove-all-user-defined-functions branch from 304b1eb to 0b83611 Compare July 26, 2023 22:18
Copy link
Collaborator Author

@mgartner mgartner left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @DrewKimball)


-- commits line 4 at r1:

Previously, DrewKimball (Drew Kimball) wrote…

[nit] mthoed -> method

Done.

@mgartner
Copy link
Collaborator Author

bors r+

@craig
Copy link
Contributor

craig bot commented Jul 27, 2023

Build failed:

The metadata method `AllUserDefinedFunctions` has been replaced with a
new function `HasUserDefinedFunctions` which provides a simpler API
without exposing the underlying UDF dependency map. The map is still
available outside of the opt package via the `TestingUDFDeps` method
which is designed for testing use only.

Release note: None
@mgartner mgartner force-pushed the remove-all-user-defined-functions branch from 0b83611 to a6a2ccc Compare July 27, 2023 14:21
@mgartner
Copy link
Collaborator Author

bors r+

@craig
Copy link
Contributor

craig bot commented Jul 27, 2023

Build succeeded:

@craig craig bot merged commit 68e43c8 into cockroachdb:master Jul 27, 2023
@mgartner mgartner deleted the remove-all-user-defined-functions branch July 27, 2023 22:53
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