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

SpecificRecord builders should share more functionality with GenericRecord builders

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.5, 1.7.6
    • Fix Version/s: 1.9.0
    • Component/s: java
    • Labels:
      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.20140126-182111-0800.diff
          91 kB
          Christophe Taton
        2. AVRO-1443.20140202-182611-0800.svndiff
          82 kB
          Christophe Taton
        3. AVRO-1443.20140204-124549-0800.diff
          44 kB
          Christophe Taton

          Activity

            People

            • Assignee:
              kryzthov Christophe Taton
              Reporter:
              kryzthov Christophe Taton
            • Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated: