[ https://issues.apache.org/jira/browse/HIVE-5580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-5580: ------------------------------ Attachment: D13533.1.patch omalley requested code review of "HIVE-5580 [jira] push down predicates with an and-operator between non-SARGable predicates will get NPE". Reviewers: JIRA HIVE-5580 When all of the predicates in an AND-operator in a SARG expression get removed by the SARG builder, evaluation can end up with a NPE. Sub-expressions are typically removed from AND-operators because they aren't SARGable. TEST PLAN EMPTY REVISION DETAIL https://reviews.facebook.net/D13533 AFFECTED FILES ql/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchArgumentImpl.java ql/src/test/org/apache/hadoop/hive/ql/io/sarg/TestSearchArgumentImpl.java ql/src/test/queries/clientpositive/orc_create.q ql/src/test/results/clientpositive/orc_create.q.out MANAGE HERALD RULES https://reviews.facebook.net/herald/view/differential/ WHY DID I GET THIS EMAIL? https://reviews.facebook.net/herald/transcript/40461/ To: JIRA, omalley > push down predicates with an and-operator between non-SARGable predicates > will get NPE > -------------------------------------------------------------------------------------- > > Key: HIVE-5580 > URL: https://issues.apache.org/jira/browse/HIVE-5580 > Project: Hive > Issue Type: Bug > Components: File Formats > Reporter: Owen O'Malley > Assignee: Owen O'Malley > Attachments: D13533.1.patch > > > When all of the predicates in an AND-operator in a SARG expression get > removed by the SARG builder, evaluation can end up with a NPE. > Sub-expressions are typically removed from AND-operators because they aren't > SARGable. -- This message was sent by Atlassian JIRA (v6.1#6144)