[ https://issues.apache.org/jira/browse/IGNITE-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Tupitsyn resolved IGNITE-4385. ------------------------------------ Resolution: Fixed Fixed in master > .NET: LINQ requires IQueryable in joins > --------------------------------------- > > Key: IGNITE-4385 > URL: https://issues.apache.org/jira/browse/IGNITE-4385 > Project: Ignite > Issue Type: Bug > Components: platforms > Affects Versions: 1.7, 1.8 > Reporter: Pavel Tupitsyn > Assignee: Pavel Tupitsyn > Priority: Minor > Labels: .NET, LINQ > Fix For: 2.0 > > > This does not work: > {code} > var q3 = from ic in GetCache<Contract>().AsCacheQueryable() > from pp in GetCache<PaymentPlan>().AsCacheQueryable() > select pp.Value; > {code} > Error: > {code} > Unexpected query source: GetCache().AsCacheQueryable() > {code} > And this does work: > {code} > var contracts = GetCache<Contract>().AsCacheQueryable(); > var paymentPlans = GetCache<PaymentPlan>().AsCacheQueryable(); > var q3 = from ic in contracts > from pp in paymentPlans > select pp.Value; > {code} > While it is usually possible to extract variables, this is an inconvenience. > See if we can support such expressions (evaluate irrelevant part > automatically). -- This message was sent by Atlassian JIRA (v6.3.4#6332)