[ https://issues.apache.org/jira/browse/ARROW-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tanveer updated ARROW-4231: --------------------------- Description: I have a simple array of int32(){color:#333333} \{0, 163, 0, 83, 0, 16}**{color} In C++ the output ArrowBuffer of serialized record batch is: -116 000200000000120220 6050801201200003302400024000000000 10024012040801000060000160001000000000002000000000000000000000000000 24000000000001000600000000000000000000000-93000000083000000016000 In Java, with the same array the output of serialized record batch in WriteChannel out is: 124 000200000000120220 140210160401200024000000000301600003 1002401208040100002000040000600000000000100000000000 24000000000001000600000000000000000000000-93000000083000000016000 was: I have a simple array of int32() {{color:#0000ff}0{color}, {color:#0000ff}163{color}, {color:#0000ff}0{color}, {color:#0000ff}83{color}, {color:#0000ff}0{color}, {color:#0000ff}16{color}} In C++ the output ArrowBuffer of serialized record batch is: -116 000200000000120220 6050801201200003302400024000000000 10024012040801000060000160001000000000002000000000000000000000000000 24000000000001000600000000000000000000000-93000000083000000016000 In Java, with the same array the output of serialized record batch in WriteChannel out is: 124 000200000000120220 140210160401200024000000000301600003 1002401208040100002000040000600000000000100000000000 24000000000001000600000000000000000000000-93000000083000000016000 > C++ & Java recordbatch serialization protocol does not match > ------------------------------------------------------------ > > Key: ARROW-4231 > URL: https://issues.apache.org/jira/browse/ARROW-4231 > Project: Apache Arrow > Issue Type: Bug > Reporter: Tanveer > Priority: Major > > I have a simple array of int32(){color:#333333} \{0, 163, 0, 83, 0, > 16}**{color} > In C++ the output ArrowBuffer of serialized record batch is: > -116 000200000000120220 6050801201200003302400024000000000 > 10024012040801000060000160001000000000002000000000000000000000000000 > 24000000000001000600000000000000000000000-93000000083000000016000 > In Java, with the same array the output of serialized record batch in > WriteChannel out is: > 124 000200000000120220 140210160401200024000000000301600003 > 1002401208040100002000040000600000000000100000000000 > 24000000000001000600000000000000000000000-93000000083000000016000 > -- This message was sent by Atlassian JIRA (v7.6.3#76005)