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 join where the inner key is navigation #11245
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Comments
problem is that inner key nav rewrite goes thru a different code path (needs to be converted to subquery rather than join, because chicken-and-egg problem), and we have some invalid assumptions when the key doesn't have a scalar member at the end |
maumar
added a commit
that referenced
this issue
Mar 15, 2018
#11022 - GroupJoin with an entity object as a key fails #10974 - Query: Include Collection group by reference throws exception #11245 - Query: compilation error for queries with join where the inner key is navigation - Added step to the QueryOptimizer that converts entity qsre comparison to key comparisons instead for order by join and group join, - Improved logic of join/groupjoin inner key navigation rewrite to correctly handle case when navigation is the final operator (i.e. no scalar is projected at the end), - Improved "requires materialization" logic to correctly mark qsre projected out of subquery that is a result of nav rewrite of join/groupjoin inner key.
maumar
added a commit
that referenced
this issue
Mar 15, 2018
#11288 - Query: Join/GroupJoin where key selectors are qsres or navigations fails during compilation #10974 - Query: Include Collection group by reference throws exception #11245 - Query: compilation error for queries with join where the inner key is navigation - Added step to the QueryOptimizer that converts entity qsre comparison to key comparisons instead for order by join and group join, - Improved logic of join/groupjoin inner key navigation rewrite to correctly handle case when navigation is the final operator (i.e. no scalar is projected at the end), - Improved "requires materialization" logic to correctly mark qsre projected out of subquery that is a result of nav rewrite of join/groupjoin inner key.
maumar
added a commit
that referenced
this issue
Mar 15, 2018
#11288 - Query: Join/GroupJoin where key selectors are qsres or navigations fails during compilation #10974 - Query: Include Collection group by reference throws exception #11245 - Query: compilation error for queries with join where the inner key is navigation #9481 - EF Core joining on the wrong field when using GroupBy - Added step to the QueryOptimizer that converts entity qsre comparison to key comparisons instead for order by join and group join, - Improved logic of join/groupjoin inner key navigation rewrite to correctly handle case when navigation is the final operator (i.e. no scalar is projected at the end), - Improved "requires materialization" logic to correctly mark qsre projected out of subquery that is a result of nav rewrite of join/groupjoin inner key.
maumar
added a commit
that referenced
this issue
Mar 16, 2018
#11288 - Query: Join/GroupJoin where key selectors are qsres or navigations fails during compilation #10974 - Query: Include Collection group by reference throws exception #11245 - Query: compilation error for queries with join where the inner key is navigation #11022 - Query: GroupJoin with a complex join key fails during compilation #9481 - EF Core joining on the wrong field when using GroupBy - Added step to the QueryOptimizer that converts entity qsre comparison to key comparisons instead for order by join and group join, - Improved logic of join/groupjoin inner key navigation rewrite to correctly handle case when navigation is the final operator (i.e. no scalar is projected at the end), - Improved "requires materialization" logic to correctly mark for materialization query sources coming from subquery join keys.
maumar
added a commit
that referenced
this issue
Mar 19, 2018
#11288 - Query: Join/GroupJoin where key selectors are qsres or navigations fails during compilation #10974 - Query: Include Collection group by reference throws exception #11245 - Query: compilation error for queries with join where the inner key is navigation #11022 - Query: GroupJoin with a complex join key fails during compilation #9481 - EF Core joining on the wrong field when using GroupBy - Added step to the QueryOptimizer that converts entity qsre comparison to key comparisons instead for order by join and group join, - Improved logic of join/groupjoin inner key navigation rewrite to correctly handle case when navigation is the final operator (i.e. no scalar is projected at the end), - Improved "requires materialization" logic to correctly mark for materialization query sources coming from subquery join keys.
maumar
added a commit
that referenced
this issue
Mar 20, 2018
#11288 - Query: Join/GroupJoin where key selectors are qsres or navigations fails during compilation #10974 - Query: Include Collection group by reference throws exception #11245 - Query: compilation error for queries with join where the inner key is navigation #11022 - Query: GroupJoin with a complex join key fails during compilation #9481 - EF Core joining on the wrong field when using GroupBy - Added step to the QueryOptimizer that converts entity qsre comparison to key comparisons instead for order by join and group join, - Improved logic of join/groupjoin inner key navigation rewrite to correctly handle case when navigation is the final operator (i.e. no scalar is projected at the end), - Improved "requires materialization" logic to correctly mark for materialization query sources coming from subquery join keys.
maumar
added a commit
that referenced
this issue
Mar 20, 2018
#11288 - Query: Join/GroupJoin where key selectors are qsres or navigations fails during compilation #10974 - Query: Include Collection group by reference throws exception #11245 - Query: compilation error for queries with join where the inner key is navigation #11022 - Query: GroupJoin with a complex join key fails during compilation #9481 - EF Core joining on the wrong field when using GroupBy - Added step to the QueryOptimizer that converts entity qsre comparison to key comparisons instead for order by join and group join, - Improved logic of join/groupjoin inner key navigation rewrite to correctly handle case when navigation is the final operator (i.e. no scalar is projected at the end), - Improved "requires materialization" logic to correctly mark for materialization query sources coming from subquery join keys.
fixed in fdb8ece |
maumar
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Mar 20, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
repro using GearsOfWar model
throws:
The text was updated successfully, but these errors were encountered: