Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-2390

Add UNIONTYPE serialization support to LazyBinarySerDe

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.1
    • Fix Version/s: 0.14.0
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Adds UnionType support in LazyBinarySerde

      Description

      When the union type was introduced, full support for it wasn't provided. For instance, when working with a union that gets passed to LazyBinarySerde:

      Caused by: java.lang.RuntimeException: Unrecognized type: UNION
      	at org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe.serialize(LazyBinarySerDe.java:468)
      	at org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe.serializeStruct(LazyBinarySerDe.java:230)
      	at org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe.serialize(LazyBinarySerDe.java:184)
      

        Attachments

        1. HIVE-2390.1.patch
          29 kB
          Suma Shivaprasad
        2. HIVE-2390.patch
          22 kB
          Suma Shivaprasad

          Issue Links

            Activity

              People

              • Assignee:
                suma.shivaprasad Suma Shivaprasad
                Reporter:
                jghoman Jakob Homan
              • Votes:
                7 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: