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

restrict map keys to strings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • spec
    • None

    Description

      In many scripting languages, the standard map datastructure does not support arbitrary keys, but rather only strings and possibly numeric values. To simplify integration with such languages, Avro should restrict map keys to be strings. Thus, effectively, maps would become dynamic records, records whose field names vary from instance to instance.

      Attachments

        1. AVRO-9-py.patch
          6 kB
          Sharad Agarwal
        2. AVRO-9.patch
          17 kB
          Doug Cutting

        Issue Links

          Activity

            People

              sharadag Sharad Agarwal
              cutting Doug Cutting
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: