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

AvroLazyObjectInspector could handle empty data better

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0, 2.0.0
    • Component/s: None
    • Labels:
      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.3.patch.txt
          5 kB
          Swarnim Kulkarni
        2. HIVE-11513.2.patch.txt
          5 kB
          Swarnim Kulkarni
        3. HIVE-11513.1.patch.txt
          4 kB
          Swarnim Kulkarni

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: