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

SpecificRecord builders should share more functionality with GenericRecord builders

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.7.5, 1.7.6
    • None
    • java
    • None

    Description

      Ideally, wherever a generic record builder is expected, one should be able to supply a builder for a specific record.

      That could happen by making SpecificRecordBuilderBase (and SpecificErrorBuilderBase?) a subclass of GenericRecordBuilder.

      Since SpecificRecordBase implements GenericRecord, it should be possible with minimal effort.

      Attachments

        1. AVRO-1443.20140204-124549-0800.diff
          44 kB
          Christophe Taton
        2. AVRO-1443.20140202-182611-0800.svndiff
          82 kB
          Christophe Taton
        3. AVRO-1443.20140126-182111-0800.diff
          91 kB
          Christophe Taton

        Activity

          People

            kryzthov Christophe Taton
            kryzthov Christophe Taton
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: