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

release-21.1: sql: add ReType to resolveAndRequireType to fix vector engine panic #66986

Closed

Conversation

cucaroach
Copy link
Contributor

@cucaroach cucaroach commented Jun 28, 2021

CC @cockroachdb/release

Backport of #66885.


Fixes #66708

The vector engine needs exact type coercion, specifically when piping
computed column values into downstream operators. Without this fix
the computed column was left as an int64 instead of cast back to the
required int16 type.

Exposed by sqlsmith, kudos to @michae2 for the reducer help

Release note: None

Fixes cockroachdb#66708

The vector engine needs exact type coercion, specifically when piping
computed column values into downstream operators.  Without this fix
the computed column was left as an int64 instead of cast back to the
required int16 type.

Exposed by sqlsmith, kudos to @michae2 for the review help

Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@cucaroach cucaroach requested a review from RaduBerinde June 28, 2021 19:26
@RaduBerinde RaduBerinde changed the title sql: add ReType to resolveAndRequireType to fix vector engine panic release-21.1: sql: add ReType to resolveAndRequireType to fix vector engine panic Jun 28, 2021
@cucaroach cucaroach closed this Jun 28, 2021
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.

2 participants