dotnet / dotnet/efcore

Query: Preserve selector for Count/LongCount

Open
#27,893 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

Currently we remove the selector for queries involving Count/LongCount. This helps us in running query even if it has client evaluation.
But in cases of group by we may need to do count over particular property to avoid issues like #27130 So we should preserve selector for such cases. We could apply this initially for queries which are on grouping element only. We would throw if we fail to translate selector for those cases in #27130

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.