Avro
  1. Avro
  2. AVRO-600

add support for type and field name aliases

    Details

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

      Description

      It would be good if Avro would permit one to still read data if a type or field name has been changed. I propose we add a notion of name aliases. Aliases could be listed for every named type and for record fields. The writers schema would be permitted to contain any of the aliases.

      In general, this permits one to construct schemas that can read different types into a single type. One could use this not just to handle renamings, but also to join different datasets. For example, if two datasets each contain differently named records with a date and an ip address field, this could be used be used to project these both to a single record with just those fields.

      1. AVRO-600.patch
        13 kB
        Doug Cutting
      2. AVRO-600.patch
        16 kB
        Doug Cutting
      3. AVRO-600.patch
        16 kB
        Doug Cutting

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Doug Cutting
              Reporter:
              Doug Cutting
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development