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: Injecting into group by projection should check for distinct #28071

Open
smitpatel opened this issue May 20, 2022 · 0 comments
Open

Query: Injecting into group by projection should check for distinct #28071

smitpatel opened this issue May 20, 2022 · 0 comments

Comments

@smitpatel
Copy link
Contributor

#27931 Added processing for lifting complex aggregate term to original group by query. See EnclosingTermFindingVisitor

Adding it should be safe in presence of GroupBy since that element could be key or aggregate only (else LINQ wouldn't compile)
But in front of Distinct it may not work. Though there is also another thing that if user doesn't condense grouping element then Distinct should/could fail. We just need to verify the scenario to make sure we are not adding terms into distinct projection.

Similar to #28039

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

4 participants