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

Make null-checks consistent for MapObjectInspector subclasses.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.14.0
    • 1.2.0
    • None

    Description

      LazyBinaryMapObjectInspector, DeepParquetHiveMapInspector, etc. check both the map-column value and the map-key for null, before dereferencing them. OrcMapObjectInspector and LazyMapObjectInspector do not.

      This patch brings them all in sync. Might not be a real problem, unless (for example) the lookup key is itself a (possibly null) value from another column.

      Attachments

        1. HIVE-9322.1.patch
          2 kB
          Mithun Radhakrishnan

        Activity

          People

            mithun Mithun Radhakrishnan
            mithun Mithun Radhakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: