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

Expose aliases on Schema.Field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.6.1
    • 1.6.2
    • java
    • None

    Description

      If i create a copy of a Schema.Field using the constructor i lose the props and aliases. I can find out what the props are and add them back in using Schema.Field.props() but there is no way to find out the aliases. Can we also expose the aliases? Set<String> Schema.Field.aliases()?

      Attachments

        1. AVRO-1016.patch
          2 kB
          Doug Cutting
        2. AVRO-1016.diff
          0.7 kB
          koert kuipers

        Activity

          People

            cutting Doug Cutting
            koert koert kuipers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: