[ https://issues.apache.org/jira/browse/HIVE-5950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868877#comment-13868877 ]
Prasanth J commented on HIVE-5950: ---------------------------------- Addressed [~owen.omalley]'s comment. Removed objectinspectors from compare method. Instead handling each primitive 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, HIVE-5950.2.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.5#6160)