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

bidrectional text representation of AVRO data

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • spec
    • None

    Description

      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

      Attachments

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

        Issue Links

          Activity

            People

              cutting Doug Cutting
              philip Philip Martin
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: