Hive
  1. Hive
  2. HIVE-2390

Add UNIONTYPE serialization support to LazyBinarySerDe

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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)
      
      1. HIVE-2390.1.patch
        29 kB
        Suma Shivaprasad
      2. HIVE-2390.patch
        22 kB
        Suma Shivaprasad

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Suma Shivaprasad
              Reporter:
              Jakob Homan
            • Votes:
              7 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development