[jira] [Updated] (IGNITE-7889) .NET: linq GroupBy and Where do not work together

2018-03-06 Thread Alexey Popov (JIRA)

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

Alexey Popov updated IGNITE-7889:
-
Fix Version/s: 2.5

> .NET: linq GroupBy and Where do not work together
> -
>
> Key: IGNITE-7889
> URL: https://issues.apache.org/jira/browse/IGNITE-7889
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Affects Versions: 2.1
>Reporter: Alexey Popov
>Assignee: Alexey Popov
>Priority: Major
>  Labels: .NET
> Fix For: 2.5
>
>
> The following code completely ignores the Where condition:
> {noformat}
> var groupByQuery2 = models.Where(m => m.Value.DateTicks < 10 
> && m.Value.Dirty.HasValue).GroupBy(m => m.Value.ContractId)
> .Select(g => new KeyValuePair(g.Key, 
> g.Select(m => m.Value.Version).Min()));
> {noformat}
> debugger shows SQL without WHERE:
> {{CacheQueryable [CacheName=someCache, TableName=MODEL, Query=SqlFieldsQuery 
> [Sql=select _T0.CONTRACTID, min (_T0.VERSION)  from "someCache".MODEL as _T0 
> group by (_T0.CONTRACTID), Arguments=[], Local=False, PageSize=1024, 
> EnableDistributedJoins=False, EnforceJoinOrder=False, Timeout=00:00:00, 
> ReplicatedOnly=False, Colocated=False, Schema=, Lazy=False]]}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7889) .NET: linq GroupBy and Where do not work together

2018-03-06 Thread Pavel Tupitsyn (JIRA)

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

Pavel Tupitsyn updated IGNITE-7889:
---
Summary: .NET: linq GroupBy and Where do not work together  (was: .NET: 
linq GroupBy and Where do not work together.)

> .NET: linq GroupBy and Where do not work together
> -
>
> Key: IGNITE-7889
> URL: https://issues.apache.org/jira/browse/IGNITE-7889
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Affects Versions: 2.1
>Reporter: Alexey Popov
>Assignee: Alexey Popov
>Priority: Major
>  Labels: .NET
>
> The following code completely ignores the Where condition:
> {noformat}
> var groupByQuery2 = models.Where(m => m.Value.DateTicks < 10 
> && m.Value.Dirty.HasValue).GroupBy(m => m.Value.ContractId)
> .Select(g => new KeyValuePair(g.Key, 
> g.Select(m => m.Value.Version).Min()));
> {noformat}
> debugger shows SQL without WHERE:
> {{CacheQueryable [CacheName=someCache, TableName=MODEL, Query=SqlFieldsQuery 
> [Sql=select _T0.CONTRACTID, min (_T0.VERSION)  from "someCache".MODEL as _T0 
> group by (_T0.CONTRACTID), Arguments=[], Local=False, PageSize=1024, 
> EnableDistributedJoins=False, EnforceJoinOrder=False, Timeout=00:00:00, 
> ReplicatedOnly=False, Colocated=False, Schema=, Lazy=False]]}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7889) .NET: linq GroupBy and Where do not work together

2018-03-06 Thread Pavel Tupitsyn (JIRA)

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

Pavel Tupitsyn updated IGNITE-7889:
---
Labels: .NET  (was: )

> .NET: linq GroupBy and Where do not work together
> -
>
> Key: IGNITE-7889
> URL: https://issues.apache.org/jira/browse/IGNITE-7889
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Affects Versions: 2.1
>Reporter: Alexey Popov
>Assignee: Alexey Popov
>Priority: Major
>  Labels: .NET
>
> The following code completely ignores the Where condition:
> {noformat}
> var groupByQuery2 = models.Where(m => m.Value.DateTicks < 10 
> && m.Value.Dirty.HasValue).GroupBy(m => m.Value.ContractId)
> .Select(g => new KeyValuePair(g.Key, 
> g.Select(m => m.Value.Version).Min()));
> {noformat}
> debugger shows SQL without WHERE:
> {{CacheQueryable [CacheName=someCache, TableName=MODEL, Query=SqlFieldsQuery 
> [Sql=select _T0.CONTRACTID, min (_T0.VERSION)  from "someCache".MODEL as _T0 
> group by (_T0.CONTRACTID), Arguments=[], Local=False, PageSize=1024, 
> EnableDistributedJoins=False, EnforceJoinOrder=False, Timeout=00:00:00, 
> ReplicatedOnly=False, Colocated=False, Schema=, Lazy=False]]}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-7889) .NET: linq GroupBy and Where do not work together.

2018-03-06 Thread Alexey Popov (JIRA)

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

Alexey Popov updated IGNITE-7889:
-
Summary: .NET: linq GroupBy and Where do not work together.  (was: .NET: 
linq GroupBy and Where does not work together.)

> .NET: linq GroupBy and Where do not work together.
> --
>
> Key: IGNITE-7889
> URL: https://issues.apache.org/jira/browse/IGNITE-7889
> Project: Ignite
>  Issue Type: Bug
>  Components: platforms
>Affects Versions: 2.1
>Reporter: Alexey Popov
>Assignee: Alexey Popov
>Priority: Major
>
> The following code completely ignores the Where condition:
> {noformat}
> var groupByQuery2 = models.Where(m => m.Value.DateTicks < 10 
> && m.Value.Dirty.HasValue).GroupBy(m => m.Value.ContractId)
> .Select(g => new KeyValuePair(g.Key, 
> g.Select(m => m.Value.Version).Min()));
> {noformat}
> debugger shows SQL without WHERE:
> {{CacheQueryable [CacheName=someCache, TableName=MODEL, Query=SqlFieldsQuery 
> [Sql=select _T0.CONTRACTID, min (_T0.VERSION)  from "someCache".MODEL as _T0 
> group by (_T0.CONTRACTID), Arguments=[], Local=False, PageSize=1024, 
> EnableDistributedJoins=False, EnforceJoinOrder=False, Timeout=00:00:00, 
> ReplicatedOnly=False, Colocated=False, Schema=, Lazy=False]]}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)