Skip to content

exec: don't panic on unhandled datum conversion #38607

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

Merged
merged 1 commit into from
Jul 3, 2019

Conversation

solongordon
Copy link
Contributor

Previously GetDatumToPhysicalFn panicked if it encountered an unhandled
Datum type. This could cause server panics during vectorized planning. I
changed it to return an error instead so that the planner can gracefully
fall back in these scenarios.

Release note: None

Previously GetDatumToPhysicalFn panicked if it encountered an unhandled
Datum type. This could cause server panics during vectorized planning. I
changed it to return an error instead so that the planner can gracefully
fall back in these scenarios.

Release note: None
@solongordon solongordon requested review from a team July 2, 2019 16:09
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@jordanlewis jordanlewis left a comment

Choose a reason for hiding this comment

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

:lgtm: nice

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@solongordon
Copy link
Contributor Author

bors r+

craig bot pushed a commit that referenced this pull request Jul 3, 2019
38607: exec: don't panic on unhandled datum conversion r=solongordon a=solongordon

Previously GetDatumToPhysicalFn panicked if it encountered an unhandled
Datum type. This could cause server panics during vectorized planning. I
changed it to return an error instead so that the planner can gracefully
fall back in these scenarios.

Release note: None

Co-authored-by: Solon Gordon <[email protected]>
@craig
Copy link
Contributor

craig bot commented Jul 3, 2019

Build succeeded

@craig craig bot merged commit ae39b9c into cockroachdb:master Jul 3, 2019
@solongordon solongordon deleted the no-conv-panic branch July 4, 2019 12:00
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