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/9.0-staging] Process Coalesce-simplified Convert node properly in funcletizer #35721

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

roji
Copy link
Member

@roji roji commented Mar 3, 2025

Backports #35657
Fixes #35656

Description

The expression tree funcletizer - an important query component - was rewritten in EF 9.0 for NativeAOT support and for better performance. Unfortunately, some bugs were introduced in the process.

Customer impact

In some scenarios, when a coalesce operator is used in a query with a nullable value type, an exception is thrown.

How found

Reported by a user against 9.

Regression

Yes.

Testing

Added test

Risk

Very low - very minimal change; added quirk.

@roji roji requested a review from a team March 3, 2025 22:56
@roji roji force-pushed the FuncletizerCoalesce9 branch from f8d2928 to 8f3fce9 Compare March 3, 2025 23:48
@roji roji force-pushed the FuncletizerCoalesce9 branch from 8f3fce9 to 300202b Compare March 4, 2025 00:14
@roji roji merged commit 7cbf9ce into dotnet:release/9.0-staging Mar 4, 2025
7 checks passed
@roji roji deleted the FuncletizerCoalesce9 branch March 4, 2025 12:43
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.

2 participants