You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2017/06/07 19:34:18 UTC

[jira] [Updated] (IGNITE-5442) .NET: LINQ Conditional statement will fail for some types

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

Pavel Tupitsyn updated IGNITE-5442:
-----------------------------------
    Summary: .NET: LINQ Conditional statement will fail for some types  (was: Linq Conditional statement will fail for some types)

> .NET: LINQ Conditional statement will fail for some types
> ---------------------------------------------------------
>
>                 Key: IGNITE-5442
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5442
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>            Reporter: Sergey Stronchinskiy
>            Priority: Minor
>              Labels: .net, linq
>             Fix For: 2.1
>
>
> Next code will fail:
> {code}
> var res = persons.Select(x => new {Foo = x.Key%2 == 0 ? 1 : (int?)null, x.Value}).ToArray();
> {code}
> Fix: strip nullable type in {{SqlTypes}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)