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

bidrectional text representation of AVRO data


    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: spec
    • Labels:


      It would be very useful to add a text representation of AVRO data to the spec, and implement toString() and fromString() in all implementations. Faced with binary data, it'll be a useful operation to decode it for debugging, ad-hoc manipulation, etc.

      I suspect the text format will:

      • be JSON
      • require the schema for full interpretation
      • map easily onto the binary format (if the binary format has a signifier to take a specific branch of a union, the text format will have such a signifier as well)
      • not be unique (there's more than one way to encode a given number (e.g., 0x0 == 0) or string (e.g., "\u0061" == "a", not to mention flexible whitespace)
      • be compatible, for the binary type, with whatever is decided in AVRO-36


        1. AVRO-50.patch
          50 kB
          Doug Cutting
        2. AVRO-50.patch
          136 kB
          Thiruvalluvan M. G.
        3. AVRO-50.patch
          128 kB
          Thiruvalluvan M. G.
        4. AVRO-50.sh
          0.2 kB
          Thiruvalluvan M. G.
        5. AVRO-50.patch
          198 kB
          Thiruvalluvan M. G.
        6. AVRO-50.sh
          0.3 kB
          Thiruvalluvan M. G.
        7. AVRO-50.patch
          149 kB
          Doug Cutting
        8. AVRO-50.sh
          0.3 kB
          Doug Cutting
        9. AVRO-50.patch
          150 kB
          Thiruvalluvan M. G.

          Issue Links



              • Assignee:
                cutting Doug Cutting
                philip Philip Zeyliger
              • Votes:
                1 Vote for this issue
                3 Start watching this issue


                • Created: