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

Query: Chained GroupBy with aggregate throws #11915

Closed
smitpatel opened this issue May 4, 2018 · 1 comment
Closed

Query: Chained GroupBy with aggregate throws #11915

smitpatel opened this issue May 4, 2018 · 1 comment

Comments

@smitpatel
Copy link
Member

    var query = db.Blogs
        .GroupBy(b => new { b.Id, b.Author })
        .GroupBy(b => b.Key.Author)
        .Select(g => g.Count())
        .ToList();

We assume this is aggregate and try to translate it but it fails since it is not.

@ajcvickers
Copy link
Member

Duplicate of #11904

@ajcvickers ajcvickers marked this as a duplicate of #11904 May 4, 2018
@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants