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/execbuilder: add panic catching to buildRoutinePlanGenerator #99835

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

mgartner
Copy link
Collaborator

This commit adds a panic catcher to callback functions created in
execbuilder and invoked during evaluation of UDFs and correlated
subqueries. It matches the panic catcher logic in buildApplyJoin.

Fixes #98786

Release note: None

@mgartner mgartner added the backport-23.1.x Flags PRs that need to be backported to 23.1 label Mar 28, 2023
@mgartner mgartner requested a review from DrewKimball March 28, 2023 18:00
@mgartner mgartner requested a review from a team as a code owner March 28, 2023 18:00
@blathers-crl
Copy link

blathers-crl bot commented Mar 28, 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

@mgartner mgartner force-pushed the 98786-panic-catching branch from 1c24a3d to 1f7b21a Compare March 28, 2023 18:00
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 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @mgartner)

@mgartner mgartner force-pushed the 98786-panic-catching branch from 1f7b21a to c6928e1 Compare March 29, 2023 14:22
This commit adds a panic catcher to callback functions created in
execbuilder and invoked during evaluation of UDFs and correlated
subqueries. It matches the panic catcher logic in `buildApplyJoin`.

Fixes cockroachdb#98786

Release note: None
@mgartner mgartner force-pushed the 98786-panic-catching branch from c6928e1 to e14df21 Compare March 30, 2023 12:12
@mgartner
Copy link
Collaborator Author

TFTR!

bors r+

@craig craig bot merged commit dcac33e into cockroachdb:master Mar 31, 2023
@craig
Copy link
Contributor

craig bot commented Mar 31, 2023

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-23.1.x Flags PRs that need to be backported to 23.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

opt: audit correlated subquery code for panic catching
3 participants