Skip to content

Only 1 entity materalized although generated SQL returns more rows #16165

Description

@roji

While working on set operations, I ran into a situation where generated SQL properly fetches 7 customers, but only one gets materialized. This can be reproduce with test Union_Include from https://github.com/roji/EntityFrameworkCore/tree/StateOfTheUnion.

Related to #15611 which generally tracks materialization.

/cc @maumar who already did some investigation on this.

Activity

  1. smitpatel commented on Jun 19, 2019

    @smitpatel
    Contributor

    outer key selector is busted.

  2. added this to the 3.0.0 milestone on Jun 20, 2019
  3. roji commented on Jun 25, 2019

    @roji
    MemberAuthor

    This went away in the new implementation of the nav expanding support for set operations (probably because there's no attempt to not terminate).

  4. added 8 commits that reference this issue on Jun 25, 2019
    6004e53
    68ae5a8
    0421853
    e790f0d
    b2b7e5b
    117509e
    5f071e7
    096b1df
  5. added a commit that references this issue on Jun 28, 2019
    17a2aed
  6. 4 remaining items

  7. added a commit that references this issue on Jul 1, 2019
    686d56d
  8. added a commit that references this issue on Jul 1, 2019
    95ef38d
  9. modified the milestones: 3.0.0, on Jul 2, 2019
  10. modified the milestones: 3.0.0, on Jul 29, 2019
  11. modified the milestones: , 3.0.0 on Nov 11, 2019
  12. added theissue type on Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions