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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.6.0, 1.6.1
    • 1.6.2
    • java
    • 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.bug.patch
          3 kB
          Scott Carey
        2. AVRO-996.fix.patch
          6 kB
          James Baldassari

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: