You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Jeff Hodges (JIRA)" <ji...@apache.org> on 2010/03/27 02:50:28 UTC

[jira] Updated: (AVRO-492) python implementation should encode numbers as little-endian

     [ https://issues.apache.org/jira/browse/AVRO-492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Hodges updated AVRO-492:
-----------------------------

    Attachment: AVRO-492.patch

Changes the numeric encoding to be little endian. Python internal tests pass, and so do the interop tests.

This latter part is the baffling part. They seemed to pass before. Did I miss something?

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