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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.0, 1.6.1
    • 1.6.2
    • java
    • 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-v2.patch
          2 kB
          James Baldassari
        2. AVRO-993.patch
          2 kB
          James Baldassari

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: