ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-6896) .NET: support Multidimensional Arrays in binary serializer
Date Tue, 14 Nov 2017 13:49:00 GMT

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

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

GitHub user ptupitsyn opened a pull request:

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

    IGNITE-6896 .NET: support Multidimensional Arrays in binary serializer

    

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

    $ git pull https://github.com/gridgain/apache-ignite ignite-6896

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

    https://github.com/apache/ignite/pull/3031.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 #3031
    
----
commit 8735d68ec178b7593f25f1207a6362ed9ea238fc
Author: Pavel Tupitsyn <ptupitsyn@apache.org>
Date:   2017-11-14T13:48:21Z

    IGNITE-6896 .NET: support Multidimensional Arrays in binary serializer

----


> .NET: support Multidimensional Arrays in binary serializer
> ----------------------------------------------------------
>
>                 Key: IGNITE-6896
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6896
>             Project: Ignite
>          Issue Type: Bug
>      Security Level: Public(Viewable by anyone) 
>          Components: platforms
>    Affects Versions: 2.3
>            Reporter: Alexey Popov
>            Assignee: Pavel Tupitsyn
>              Labels: .NET
>
> It is found that legacy 2D, 3D, etc. are not working in BinarySerializer.
> Sample reproducer:
> {code:java}
>         [Test]
>         public void TestXX()
>         {
>             var array2D = new float[32, 32];
>             var res = TestUtils.SerializeDeserialize(array2D);
>             Assert.AreEqual(array2D, res);
>         }
> {code}
> BTW, please note that 2D array in Java (a[2][2]) is just a jugged array:
> {noformat}
> obj = {byte[2][]@1928}
>  0 = {byte[2]@1974}
>  1 = {byte[2]@1975}
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message