Avro
  1. Avro
  2. AVRO-1443

SpecificRecord builders should share more functionality with GenericRecord builders

    Details

    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.5, 1.7.6
    • Fix Version/s: 1.8.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.

      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

          • Assignee:
            Christophe Taton
            Reporter:
            Christophe Taton
          • Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:

              Development