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

Java: SpecificRecord builder pattern object copy fails with unions in some cases

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6.0, 1.6.1
    • Fix Version/s: 1.6.2
    • Component/s: java
    • Labels:
      None

      Description

      I have a union of multiple records that fails to copy correctly with the MySpecificRecord.newBuilder(recordToCopy).build(); pattern.

      I have a reproducible test case that I will attach shortly.

        Attachments

        1. AVRO-996.fix.patch
          6 kB
          James Baldassari
        2. AVRO-996.bug.patch
          3 kB
          Scott Carey

          Activity

            People

            • Assignee:
              jbaldassari James Baldassari
              Reporter:
              scott_carey Scott Carey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: