Avro
  1. Avro
  2. AVRO-113

C++ version is using wrong endian for varints

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      1. AVRO-113.patch
        2 kB
        Scott Banachowski

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development