Avro
  1. Avro
  2. AVRO-996

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical 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.

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development