Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4448

AvroMapWrapper leaks Avro data types when the map values are complex avro records

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.15.0
    • None
    • None
    • Patch Available
    • Reviewed

    Description

      AvroMapWrapper does not convert value objects in it's inner map to Pig types when queried. This could lead to problems when the value object is a complex Avro type.

      Attaching a preliminary patch. Please let me know if this is not the best way to fix it.

      Attachments

        1. avro_map_wrapper_fix3.patch
          6 kB
          Ratandeep Ratti
        2. avro_map_wrapper_fix2.patch
          4 kB
          Ratandeep Ratti
        3. avro_map_wrapper_fix.patch
          6 kB
          Ratandeep Ratti

        Activity

          People

            rdsr Ratandeep Ratti
            rdsr Ratandeep Ratti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: