You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2016/12/09 12:48:01 UTC
[jira] [Updated] (IGNITE-4385) .NET: LINQ requires IQueryable in
joins
[ https://issues.apache.org/jira/browse/IGNITE-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov updated IGNITE-4385:
------------------------------------
Fix Version/s: (was: 1.9)
2.0
> .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
> 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)