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-19.2: colexec: check for unsupported output type of a builtin #42990

Merged
merged 1 commit into from
Dec 5, 2019

Conversation

yuzefovich
Copy link
Member

Backport 1/1 commits from #42968.

/cc @cockroachdb/release


Previously, we would always create a defaultBuiltinOperator with
a converted physical output type from a builtin function. This could be
coltypes.Unhandled, and only during runtime we would realize that we do
not support the output type of the builtin. Now this is fixed.

Fixes: #42871.

Release note (bug fix): Previously, in some cases, when executing a builtin
function via the vectorized engine that returns an output type unsupported
by the vectorized engine CockroachDB would return an error instead of
falling back to row-by-row execution engine. Now this is fixed.

Previously, we would always create a defaultBuiltinOperator with
a converted physical output type from a builtin function. This could be
coltypes.Unhandled, and only during runtime we would realize that we do
not support the output type of the builtin. Now this is fixed.

Release note (bug fix): Previously, in some cases, when executing a builtin
function via the vectorized engine that returns an output type unsupported
by the vectorized engine CockroachDB would return an error instead of
falling back to row-by-row execution engine. Now this is fixed.
@yuzefovich yuzefovich requested a review from rohany December 5, 2019 16:37
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rohany
Copy link
Contributor

rohany commented Dec 5, 2019

Lgtm

@yuzefovich yuzefovich merged commit 814ee59 into cockroachdb:release-19.2 Dec 5, 2019
@yuzefovich yuzefovich deleted the backport19.2-42968 branch December 5, 2019 17:07
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