-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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: Incorrect syntax near the keyword 'AS` for group by aggregate #12826
Comments
Dependent on #12089 |
Perhaps covered by one of the other issues but I will add this for reference:
Copied from profiler:
Exception: Incorrect syntax near the keyword 'AS'. EF Core 2.1.1 |
Discuss in triage 🇦🇺 |
I receive the same Sql structure as @sam-wheat, but when using |
Is there an ETA for this? |
For test look all the closed referenced issue to cover all the scenarios. |
@maumar - What is pending on this issue? |
haven't added any tests yet, but we can/should do this in 5.0 |
… keyword 'AS` for group by aggregate Resolves #12826
… keyword 'AS` for group by aggregate Resolves #12826
… keyword 'AS` for group by aggregate Resolves #12826
Actual Title Query: Define a transport mechanism for binding Key/ElementSelector for GroupBy Aggregate
We currently use MemberInfoProjectionMapping, which was designed to be used for things which are added to projection. And whenever it is referenced it would come from inner subquery.
We started reusing it for GroupBy Aggregate case since we treat element selector same as select clause. Which causes a lot of incorrect SQL.
Filing a general issue and closing all issues failing with this.
The text was updated successfully, but these errors were encountered: