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-3325) .NET: LINQ Take method does not work within CompiledQuery
Date Thu, 16 Jun 2016 11:13:05 GMT

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

Pavel Tupitsyn reassigned IGNITE-3325:
--------------------------------------

    Assignee: Pavel Tupitsyn

> .NET: LINQ Take method does not work within CompiledQuery
> ---------------------------------------------------------
>
>                 Key: IGNITE-3325
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3325
>             Project: Ignite
>          Issue Type: Bug
>          Components: community, platforms
>    Affects Versions: 1.6
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>             Fix For: 1.7
>
>
> User reported that the following code fails with "Error compiling query: all compiled
query arguments should come from enclosing delegate parameters."
> {code}
> Func<int,int,int,IQueryCursor<ICacheEntry<int, OrderEntity>>> qry =

>                 CompiledQuery.Compile((int x, int y,int z) => orderCache.AsCacheQueryable().Where(e
=> e.Value.OrderId % x == z).Take(y));
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message