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

[5.0.1] Query: Match types in conditional during client evaluation #23323

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

smitpatel
Copy link
Member

@smitpatel smitpatel commented Nov 13, 2020

Resolves #23309

Description

Regression when client evaluation in the final projection (common) encounters a conditional expression where one part can be null in the database. In this case we end up with mismatched types between the true/false part of the conditional, resulting in an exception.

Customer Impact

Regression when a ternary is used in projection when client eval happens, which is a common case.

How found

Customer reported on 5.0.

Test coverage

Added test for affected scenario.

Regression?

Yes, from 3.1.

Risk

Low. Convert node would only fail when null is encountered when non-null expected which is error.

@smitpatel smitpatel requested a review from a team November 13, 2020 22:02
@smitpatel smitpatel changed the title Query: Match types in conditional during client evaluation [5.0.1] Query: Match types in conditional during client evaluation Nov 13, 2020
@ajcvickers
Copy link
Member

Approved by Tactics for 5.0.1.

@smitpatel smitpatel merged commit 2fa06f4 into release/5.0 Nov 18, 2020
@smitpatel smitpatel deleted the smit/types branch November 18, 2020 01:45
@ajcvickers ajcvickers removed this from the 5.0.1 milestone Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants