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/7.0] Fix split query over GroupBy over parameter (#30024) #30030

Merged
merged 1 commit into from
Jan 12, 2023

Conversation

roji
Copy link
Member

@roji roji commented Jan 11, 2023

Fixes #30022, backports #30024

Description

A bug in split query handling results in an incorrect SQL query tree.

Customer impact

Valid LINQ queries involving split queries and GroupBy which worked in EF Core 6.0 throw NullReferenceException in 7.0.

How found

Customer report on 7.0.

Regression

Yes, from 6.0.

Testing

Added tests for the affected scenario.

Risk

Very low; the bug is very obvious and the fix is a one-liner.

@roji roji requested a review from a team January 11, 2023 12:09
@leecow leecow added this to the 7.0.3 milestone Jan 12, 2023
@ajcvickers ajcvickers merged commit 895be6c into dotnet:release/7.0 Jan 12, 2023
@roji roji deleted the SplitQueryBug7.0 branch January 12, 2023 18:56
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.

None yet

4 participants