Skip to content

opt: remove Metadata.AllUserDefinedFunctions#107673

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
mgartner:remove-all-user-defined-functions
Jul 27, 2023
Merged

opt: remove Metadata.AllUserDefinedFunctions#107673
craig[bot] merged 1 commit intocockroachdb:masterfrom
mgartner:remove-all-user-defined-functions

Conversation

@mgartner
Copy link
Copy Markdown
Contributor

@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
Copy Markdown

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
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
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
Copy Markdown
Contributor 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
Copy Markdown
Contributor Author

bors r+

@craig
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

bors r+

@craig
Copy link
Copy Markdown
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