[jira] [Assigned] (IGNITE-4385) .NET: LINQ requires IQueryable in joins

2016-12-23 Thread Pavel Tupitsyn (JIRA)

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

Pavel Tupitsyn reassigned IGNITE-4385:
--

Assignee: (was: 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
>Priority: Minor
>  Labels: .NET, LINQ
> Fix For: 2.0
>
>
> This does not work:
> {code}
> var q3 = from ic in GetCache().AsCacheQueryable()
> from pp in GetCache().AsCacheQueryable()
> select pp.Value;
> {code}
> Error:
> {code}
> Unexpected query source: GetCache().AsCacheQueryable()
> {code}
> And this does work:
> {code}
> var contracts = GetCache().AsCacheQueryable();
> var paymentPlans = GetCache().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)


[jira] [Assigned] (IGNITE-4385) .NET: LINQ requires IQueryable in joins

2016-12-23 Thread Pavel Tupitsyn (JIRA)

 [ 
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().AsCacheQueryable()
> from pp in GetCache().AsCacheQueryable()
> select pp.Value;
> {code}
> Error:
> {code}
> Unexpected query source: GetCache().AsCacheQueryable()
> {code}
> And this does work:
> {code}
> var contracts = GetCache().AsCacheQueryable();
> var paymentPlans = GetCache().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)