You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Mithun Radhakrishnan (JIRA)" <ji...@apache.org> on 2015/01/09 02:11:34 UTC

[jira] [Created] (HIVE-9322) Make null-checks consistent for MapObjectInspector subclasses.

Mithun Radhakrishnan created HIVE-9322:
------------------------------------------

             Summary: Make null-checks consistent for MapObjectInspector subclasses.
                 Key: HIVE-9322
                 URL: https://issues.apache.org/jira/browse/HIVE-9322
             Project: Hive
          Issue Type: Bug
          Components: Serializers/Deserializers
    Affects Versions: 0.14.0
            Reporter: Mithun Radhakrishnan
            Assignee: Mithun Radhakrishnan
            Priority: Minor


{{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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)