-
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: Support in-memory processing of INTERSECT,CONCAT,EXCEPT,UNION #3638
Comments
Please try against the latest release (Beta 8) and let us know if this still happens (we've made a lot of progress on query since Beta6) |
Hi Rowan, Seems like set operators are not working with RC1 too. Refer #3675 Thanks , |
Have you tried it on RC1, #3675 is a different issue |
Since the driver code is based on beta6 and it will take some time for me to upgrade to latest, i had asked @AlekseyMartynov in 3675 and he validated that set operators are not working with RC1 . Excerpt from #3675 No, they fail too. Thanks and Regards, |
Using beta8:
Error thrown:
Stack trace:
|
@anpete this looks like something @smitpatel could look at, with the premise that this should work in memory. Do you agree? |
@divega Sounds good. |
Is this the same issue as I've asked about here: |
Yes, it looks like it is the same issue. |
We have not included set operators in supported ResultOperators. Hence this does not work even for InMemory. |
Thanks @smitpatel. I have cleared up the milestone so that we can re-triage. Is it fine to assume that adding these so that they always resolve in memory would be very easy? |
I am not certain about it. Probably @anpete can answer that. |
Hi ,
I am using EF7BETA6 and trying to run simple set operators and getting an exception.
I think the issue is similar to "Problem with Union Operator #3459 "
Sample Program :
var query = context.ORDERS.Where(o => o.SHIPCOUNTRY == "Mexico").Select(o => o.Customer).
Except(context.ORDERS.Where(o => o.SHIPCOUNTRY == "Canada").Select(o => o.Customer));
foreach (var val in query) // getting exception at this point.
Similarly for Intersect and Union.
Stack trace :
at Microsoft.Data.Entity.Query.ResultOperatorHandler.HandleResultOperator(EntityQueryModelVisitor entityQueryModelVisitor, ResultOperatorBase resultOperator, QueryModel queryModel) in C:\Users\praskarn\Desktop\EF7\EntityFramework-7.0.0-beta6\src\EntityFramework.Core\Query\ResultOperatorHandler.cs:line 58
at Microsoft.Data.Entity.Query.RelationalResultOperatorHandler.HandlerContext.get_EvalOnClient() in C:\Users\praskarn\Desktop\EF7\EntityFramework-7.0.0-beta6\src\EntityFramework.Relational\Query\RelationalResultOperatorHandler.cs:line 59
at Microsoft.Data.Entity.Query.RelationalResultOperatorHandler.HandleResultOperator(EntityQueryModelVisitor entityQueryModelVisitor, ResultOperatorBase resultOperator, QueryModel queryModel) in C:\Users\praskarn\Desktop\EF7\EntityFramework-7.0.0-beta6\src\EntityFramework.Relational\Query\RelationalResultOperatorHandler.cs:line 117
at Microsoft.Data.Entity.Query.EntityQueryModelVisitor.VisitResultOperator(ResultOperatorBase resultOperator, QueryModel queryModel, Int32 index) in
Please let me know if the issue is fixed in new beta releases.
Thanks and Regards,
Prashanth.
The text was updated successfully, but these errors were encountered: