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

Add UNIONTYPE serialization support to LazyBinarySerDe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.1
    • 0.14.0
    • None
    • Reviewed
    • 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.patch
          22 kB
          Suma Shivaprasad
        2. HIVE-2390.1.patch
          29 kB
          Suma Shivaprasad

        Issue Links

          Activity

            People

              suma.shivaprasad Suma Shivaprasad
              jghoman Jakob Homan
              Votes:
              7 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: