dotnet / dotnet/efcore

Optimize nested scalar SELECT

Open
#34,314 0 comments 0 reactions 0 assignees View on GitHub
area-query customer-reported
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

Sometimes EFCore emits nested `SELECT`s over scalar values as in https://github.com/dotnet/efcore/pull/34262#pullrequestreview-2193265550

The could be simplified away for legibility and to allow further simplifications of the expressions.

The scalar case should be simple to recognize and fold away.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.