Skip to content

opt/execbuilder: add panic catching to buildRoutinePlanGenerator#99835

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
mgartner:98786-panic-catching
Mar 31, 2023
Merged

opt/execbuilder: add panic catching to buildRoutinePlanGenerator#99835
craig[bot] merged 1 commit intocockroachdb:masterfrom
mgartner:98786-panic-catching

Conversation

@mgartner
Copy link
Copy Markdown
Contributor

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 PAST MAINTENANCE SUPPORT: 23.1 patch releases via ER request only 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
Copy Markdown

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

TFTR!

bors r+

@craig craig bot merged commit dcac33e into cockroachdb:master Mar 31, 2023
@craig
Copy link
Copy Markdown
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 PAST MAINTENANCE SUPPORT: 23.1 patch releases via ER request only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

opt: audit correlated subquery code for panic catching

3 participants