Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-113

C++ version is using wrong endian for varints

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: c++
    • Labels:
      None

      Description

      I totally overlooked the wording in the spec that says least significant parts appear before more significant ones, and used the inverse convention.

      This was discovered when I compared to Java output (highlighting the absence of the interoperability tests for c++!).

      Here is a fix for the code. Interoperability tests should follow soon.

        Attachments

        1. AVRO-113.patch
          2 kB
          Scott Banachowski

          Activity

            People

            • Assignee:
              sbanacho Scott Banachowski
              Reporter:
              sbanacho Scott Banachowski
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: