ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Stronchinskiy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-5442) Linq Conditional statement will fail for some types
Date Wed, 07 Jun 2017 19:32:18 GMT
Sergey Stronchinskiy created IGNITE-5442:
--------------------------------------------

             Summary: 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


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)

Mime
View raw message