You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2016/12/07 12:26:58 UTC
[jira] [Created] (IGNITE-4385) .NET: LINQ requires IQueryable in
joins
Pavel Tupitsyn created IGNITE-4385:
--------------------------------------
Summary: .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
Fix For: 1.9
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)