-
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: compilation error for queries with Concat on two entities and scalar projection on top #9007
Comments
The issue is introduced by |
Hitting this issue in a project ported from EF 6. Any workarounds for now? |
@flipchart - Try following query |
same issue here, either using Concat() or Union() |
@ajcvickers Any update? I have same issue if: var actuals = db.Reports.Include(x => x.ReportsDetails).OrderBy(x=>x.Time)
.Where(x => ids.Contains(x.Id)).Take(1);
var actualsBetween = db.Reports.Include(x => x.ReportsDetails)
.Where(x => ids.Contains(x.Id) && fromDateTime <= x.Time && x.Time <= toDateTime);
actuals = actuals.Concat(actualsBetween); |
@generik0 This issue is in the Backlog milestone. This means that it is not going to happen for the 3.0 release. We will re-assess the backlog following the 3.0 release and consider this item at that time. However, keep in mind that there are many other high priority features with which it will be competing for resources. |
Covers EFCore.Specs.Tests Query folder Resolves #8366 Resolves #8582 Resolves #8722 Resolves #9007 Resolves #9254 Resolves #12574 Resolves #12579 Resolves #12598 Resolves #12786 Resolves #12787 Resolves #12794 Resolves #12806 Resolves #12827 Resolves #12873 Resolves #14900 Resolves #15862 Resolves #16157 Resolves #17240 Resolves #17243 Close #12889 Close #17243
Covers EFCore.Specs.Tests Query folder Resolves #8366 Resolves #8582 Resolves #8722 Resolves #9007 Resolves #9254 Resolves #12574 Resolves #12579 Resolves #12598 Resolves #12786 Resolves #12787 Resolves #12794 Resolves #12806 Resolves #12827 Resolves #12873 Resolves #14900 Resolves #15862 Resolves #16157 Resolves #17240 Close #12889 Close #17243
Covers EFCore.Specs.Tests Query folder Resolves #8366 Resolves #8582 Resolves #8722 Resolves #9007 Resolves #9254 Resolves #12574 Resolves #12579 Resolves #12598 Resolves #12786 Resolves #12787 Resolves #12794 Resolves #12806 Resolves #12827 Resolves #12873 Resolves #14900 Resolves #15862 Resolves #16157 Resolves #17240 Close #12889 Close #17243
query:
exception:
Looks like we are creating invalid QM that relinq can't quite handle when we ask for it's OutputDataInfo during tracking
The text was updated successfully, but these errors were encountered: