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

Add methods back to GenericDatumReader that were removed in AVRO-839

    Details

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

      Description

      As part of AVRO-839 three methods were moved from GenericDatumReader to GenericData:

      • newRecord(Object, Schema)
      • createFixed(Object old, Schema schema)
      • createFixed(Object, byte[], Schema)

      Although their visibility is protected, they are part of the public API because GenericDatumReader is public. Therefore these methods should have been deprecated before being removed. The removal of these methods caused PIG-2463.

        Attachments

        1. AVRO-993.patch
          2 kB
          James Baldassari
        2. AVRO-993-v2.patch
          2 kB
          James Baldassari

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: