Pig
  1. Pig
  2. PIG-3526

Unions with Enums do not work with AvroStorage

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.13.0
    • Component/s: internal-udfs
    • Labels:
      None
    • Patch Info:
      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.)

      1. PIG-3526.patch
        1 kB
        Joseph Adler

        Activity

        Hide
        Joseph Adler added a comment -

        Patch for this issue.

        Show
        Joseph Adler added a comment - Patch for this issue.
        Hide
        Cheolsoo Park added a comment -

        +1. Committed to trunk.

        Show
        Cheolsoo Park added a comment - +1. Committed to trunk.

          People

          • Assignee:
            Joseph Adler
            Reporter:
            Joseph Adler
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development