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] [Comment Edited] (IGNITE-3325) .NET: Improve CompiledQuery in LINQ provider
Date Tue, 23 Aug 2016 11:02:21 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-3325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432528#comment-15432528
] 

Pavel Tupitsyn edited comment on IGNITE-3325 at 8/23/16 11:01 AM:
------------------------------------------------------------------

Pavel,

Fix is good to merge. Please go ahead. I would only ask you to create a ticket to remove deprecation
for 2.0.


was (Author: vozerov):
Pavel,

Fix is good to merge. Please go ahead. I would only ask you to create a ticket to remove deprectaion
for 2.0.

> .NET: Improve CompiledQuery in LINQ provider
> --------------------------------------------
>
>                 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
>              Labels: .net
>             Fix For: 1.8
>
>
> 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}
> Other limitations are:
> * Embedded parameters are not supported
> * Maximum number of parameters is 8
> We should provide additional additional method to compile a delegate which takes an array
of args.



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

Mime
View raw message