[ https://issues.apache.org/jira/browse/HIVE-5950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13854628#comment-13854628 ]
Owen O'Malley commented on HIVE-5950: ------------------------------------- Using the objectinspectors in the compare method involves a lot of overhead and complexity. In particular, the objectinspector factories aren't thread safe. I'd handle the individual cases of types. > ORC SARG creation fails with NPE for predicate conditions with > decimal/date/char/varchar datatypes > -------------------------------------------------------------------------------------------------- > > Key: HIVE-5950 > URL: https://issues.apache.org/jira/browse/HIVE-5950 > Project: Hive > Issue Type: Bug > Affects Versions: 0.13.0 > Reporter: Prasanth J > Assignee: Prasanth J > Labels: orcfile > Attachments: HIVE-5950.1.patch > > > When decimal or date column is used, the type field in PredicateLeafImpl will > be set to null. This will result in NPE during predicate leaf generation > because of null dereferencing in hashcode computation. SARG creation should > be extended to support/handle decimal and date data types. -- This message was sent by Atlassian JIRA (v6.1.4#6159)