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

ClassCastException when looking up a value from AvroMapWrapper using a Utf8 key

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • impl
    • None
    • Reviewed
    • Hide
      Committed to trunk.
      Show
      Committed to trunk.

    Description

      One got the following exception:

      java.lang.ClassCastException: org.apache.avro.util.Utf8 incompatible with java.lang.String 
          at org.apache.pig.impl.util.avro.AvroMapWrapper.get(AvroMapWrapper.java:80)
      

      This is related to the change by PIG-3420.

      Attachments

        1. PIG-3608.patch
          0.7 kB
          Richard Ding
        2. PIG-3608_2.patch
          6 kB
          Richard Ding

        Activity

          People

            rding Richard Ding
            rding Richard Ding
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: