hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chao Sun (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-15130) Fixing shifting index issue related to object inspector caching
Date Fri, 04 Nov 2016 15:54:59 GMT
Chao Sun created HIVE-15130:
-------------------------------

             Summary: Fixing shifting index issue related to object inspector caching
                 Key: HIVE-15130
                 URL: https://issues.apache.org/jira/browse/HIVE-15130
             Project: Hive
          Issue Type: Sub-task
          Components: Reader
            Reporter: Chao Sun
            Assignee: Chao Sun


Hive caches object inspector in memory to avoid recreating the same object.
However, in {{ArrayWritableObjectInspector}}, the {{equals}} and {{hashCode}} doesn't take
account on all attributes of the class, therefore, even though the internal state (e.g., {{adjustedIndex}})
is different, it could still be mapped to the same result. This could cause wrong field index
being used when reading Parquet data.



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

Mime
View raw message