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

sql: support setting check_function_bodies #74828

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

otan
Copy link
Contributor

@otan otan commented Jan 13, 2022

This commonly appears in dumps as noise for the actual problem (CREATE
FUNCTION doesn't work). This commit adds setting the variable, but we
don't do anything with it because we don't support UDFs.

Release note (sql change): Support setting check_function_bodies. Note
this doesn't variable doesn't do anything.

This commonly appears in dumps as noise for the actual problem (CREATE
FUNCTION doesn't work). This commit adds setting the variable, but we
don't do anything with it because we don't support UDFs.

Release note (sql change): Support setting `check_function_bodies`. Note
this doesn't variable doesn't do anything.
@otan otan requested a review from rafiss January 13, 2022 23:40
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@otan
Copy link
Contributor Author

otan commented Jan 13, 2022

bit more controversial ... let me know what you think ...

Copy link
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

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

lgtm! hope we can find a way to remember this setting exists when we implement UDFs

Copy link
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

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

hm, actually to be safest, is there a way we could show a notice when setting it?

@otan
Copy link
Contributor Author

otan commented Jan 19, 2022

not easily :( needs a lot more plumbing to SET.
i've already included it in the RFC draft I have for UDFs, so let's go with this for now....

bors r=rafiss

@craig
Copy link
Contributor

craig bot commented Jan 19, 2022

Build succeeded:

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