ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (IGNITE-4385) .NET: LINQ requires IQueryable in joins
Date Fri, 23 Dec 2016 13:57:58 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pavel Tupitsyn reassigned IGNITE-4385:
--------------------------------------

    Assignee: Pavel Tupitsyn

> .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)

Mime
View raw message