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] [Commented] (IGNITE-11985) .NET: CompiledQuery.Compile does not work with string parameters
Date Tue, 16 Jul 2019 07:52:00 GMT

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

Pavel Tupitsyn commented on IGNITE-11985:
-----------------------------------------

[~Pavlukhin] you are right, it does. My bad, did not found that one for some reason. However,
I've started the work on this one, so let's close IGNITE-11984 as duplicate if possible -
[~ashapkin], any objections?

> .NET: CompiledQuery.Compile does not work with string parameters
> ----------------------------------------------------------------
>
>                 Key: IGNITE-11985
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11985
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>    Affects Versions: 2.4, 2.5, 2.6, 2.7, 2.7.5
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: .NET
>
> String parameters always produce an exception, example:
> {code}
> CompiledQuery.Compile((string empName) => persons.Where(x => x.Value.Name == empName))
> {code}
> Result:
> {code}
> System.InvalidOperationException: Error compiling query: entire LINQ expression should
be specified within lambda passed to Compile method. Part of the query can't be outside the
Compile method call.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message