Avro
  1. Avro
  2. AVRO-993

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

    Details

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

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

        Issue Links

          Activity

          James Baldassari created issue -
          James Baldassari made changes -
          Field Original Value New Value
          Link This issue blocks PIG-2463 [ PIG-2463 ]
          James Baldassari made changes -
          Attachment AVRO-993.patch [ 12510678 ]
          James Baldassari made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          James Baldassari made changes -
          Attachment AVRO-993-v2.patch [ 12510801 ]
          James Baldassari made changes -
          Component/s java [ 12312780 ]
          James Baldassari made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Fix Version/s 1.6.2 [ 12319074 ]
          Resolution Fixed [ 1 ]
          Sho Shimauchi made changes -
          Link This issue is related to AVRO-839 [ AVRO-839 ]
          Doug Cutting made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Link This issue blocks PIG-2463 [ PIG-2463 ]
          Gavin made changes -
          Link This issue is depended upon by PIG-2463 [ PIG-2463 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development