You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/16 12:09:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16051814#comment-16051814 ] 

ASF GitHub Bot commented on IGNITE-5442:
----------------------------------------

GitHub user gurustron opened a pull request:

    https://github.com/apache/ignite/pull/2144

    IGNITE-5442 .NET: LINQ Conditional statement will fail for some types

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gurustron/ignite IGNITE-5442

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/2144.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2144
    
----
commit 7df6d87f69d6ad153ccc0836d46f3be6cf522e05
Author: gurustron <gu...@gmail.com>
Date:   2017-06-15T17:55:15Z

    start implementation

commit 4512fc4fca4dd1cfed8fab06acb2b7ebfb2f3de3
Author: gurustron <gu...@gmail.com>
Date:   2017-06-16T11:52:14Z

    error for char mapping

commit 4b042d3ea372da5ea61e5565e244feccac2c66b7
Author: gurustron <gu...@gmail.com>
Date:   2017-06-16T11:56:21Z

    ---

commit 716370337bb86be1903582db5670a0f5918a8128
Author: gurustron <gu...@gmail.com>
Date:   2017-06-16T12:05:03Z

    some more tests

----


> .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)