ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-5451) .NET: Improve outer joins in LINQ
Date Thu, 08 Jun 2017 13:11:18 GMT
Pavel Tupitsyn created IGNITE-5451:

             Summary: .NET: Improve outer joins in LINQ
                 Key: IGNITE-5451
                 URL: https://issues.apache.org/jira/browse/IGNITE-5451
             Project: Ignite
          Issue Type: Improvement
          Components: platforms
            Reporter: Pavel Tupitsyn
             Fix For: 2.2

Currently outer joins are supported in a convoluted way, via a regular join with {{DefaultIfEmpty()}}

            var res = persons.Join(roles.DefaultIfEmpty(),
                person => person.Value.RoleId, role => role.Key,...)

This is not consistent with LINQ to objects, Entity Framework and other things out there,
and unexpected for the users.

Instead we should support {{GroupJoin}} properly, see https://stackoverflow.com/questions/584820/how-do-you-perform-a-left-outer-join-using-linq-extension-methods

This message was sent by Atlassian JIRA

View raw message