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

Writable object inspector should use Writable classes from Hadoop for get

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • None

    Description

      In WritableByteObjectInspector, we cast objects to org.apache.hadoop.hive.serde2.io.ByteWritable to get the value. We should use the hadoop one since org.apache.hadoop.hive.serde2.io.ByteWritable extends the hadoop one.

      If customer OI uses the hadoop writable, in some queries, they could get class cast exception.

      Attachments

        1. HIVE-9314.1.patch
          3 kB
          Jimmy Xiang

        Activity

          People

            jxiang Jimmy Xiang
            jxiang Jimmy Xiang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: