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

AvroLazyObjectInspector could handle empty data better

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0, 2.0.0
    • None
    • None

    Description

      Currently in the AvroLazyObjectInspector, it looks like we only handle the case when the data send to deserialize is null[1]. It would be nice to handle the case when it is empty.

      [1] https://github.com/apache/hive/blob/master/serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroLazyObjectInspector.java#L226-L228

      Attachments

        1. HIVE-11513.1.patch.txt
          4 kB
          Swarnim Kulkarni
        2. HIVE-11513.2.patch.txt
          5 kB
          Swarnim Kulkarni
        3. HIVE-11513.3.patch.txt
          5 kB
          Swarnim Kulkarni

        Activity

          People

            swarnim Swarnim Kulkarni
            swarnim Swarnim Kulkarni
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: