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: omit unnecessary assignment casts for UDF return values #93215

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

mgartner
Copy link
Collaborator

@mgartner mgartner commented Dec 7, 2022

Previously, UDF return values were being assignment-casted to the return type of the UDF function when the types were identical. These casts are no longer created.

Epic: CRDB-20370

Fixes #93210

Release note: None

Previously, UDF return values were being assignment-casted to the return
type of the UDF function when the types were identical. These casts are
no longer created.

Epic: CRDB-20370

Fixes cockroachdb#93210

Release note: None
@mgartner mgartner requested a review from a team as a code owner December 7, 2022 19:45
@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 @rharding6373)

@mgartner
Copy link
Collaborator Author

mgartner commented Dec 8, 2022

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Dec 8, 2022

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Dec 8, 2022

Build succeeded:

@craig craig bot merged commit fe683e3 into cockroachdb:master Dec 8, 2022
@mgartner mgartner deleted the fix-assignment-cast branch December 9, 2022 14: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.

opt: remove unnecessary assignment casts on UDF return values
3 participants