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

Unions with Enums do not work with AvroStorage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • internal-udfs
    • None
    • Patch Available

    Description

      If you have an input schema with unions of enum types and nulls, AvroStorage can't read the data correctly. This patch will translate the enums to strings so that Pig can process them.

      (Sorry for the short description and lack of a unit test; ran into this issue while working on a deadline for another project.)

      Attachments

        1. PIG-3526.patch
          1 kB
          Joseph Adler

        Activity

          People

            jadler Joseph Adler
            jadler Joseph Adler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: