[ https://issues.apache.org/jira/browse/AVRO-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850455#action_12850455 ]
Bruce Mitchener commented on AVRO-492: -------------------------------------- STRUCT_INT and STRUCT_LONG are only used in the process of handling floats and doubles. The interop testing just tests that the file could be read ... it won't test that the data came through correctly currently. If there was an error in something like integer/long encoding/decoding, it would show up due to the other things that use that (like strings) that would fail were it wrong. The interop tests need to be modified so that at least some of the fields being serialized and read back in have the same value for each language and can be verified in each test that reads in the interop data. Make sense? > python implementation should encode numbers as little-endian > ------------------------------------------------------------ > > Key: AVRO-492 > URL: https://issues.apache.org/jira/browse/AVRO-492 > Project: Avro > Issue Type: Bug > Components: python > Affects Versions: 1.3.1 > Reporter: Jeff Hodges > Assignee: Jeff Hodges > Attachments: AVRO-492.patch > > > The current version of the Python implementation uses big-endian encoding > when writing and reading numeric data. The spec specifies that little-endian > encoding should be used instead[1]. > [1] > http://hadoop.apache.org/avro/docs/current/spec.html#binary_encode_primitive -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.