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-5442) .NET: LINQ Conditional statement will fail for some types
Date Tue, 20 Jun 2017 09:49:00 GMT

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

Pavel Tupitsyn commented on IGNITE-5442:
----------------------------------------

Merged to master: {{19a78a9d90084e72c194a8cc4017bbdaca0dc761}}

> .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
>    Affects Versions: 2.0
>            Reporter: Sergey Stronchinskiy
>            Assignee: 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.4.14#64029)

Mime
View raw message