[ https://issues.apache.org/jira/browse/HIVE-14298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15417959#comment-15417959 ]
Chaoyu Tang commented on HIVE-14298: ------------------------------------ It might need a little bit efforts since qtest is using embedded HMS with its property hive.metastore.limit.partition.request default disabled, and Unit tests need convert the query predicates to expression to pass in. Maybe we can raise a JIRA for it. > NPE could be thrown in HMS when an ExpressionTree could not be made from a > filter > --------------------------------------------------------------------------------- > > Key: HIVE-14298 > URL: https://issues.apache.org/jira/browse/HIVE-14298 > Project: Hive > Issue Type: Bug > Components: Metastore > Reporter: Chaoyu Tang > Assignee: Chaoyu Tang > Fix For: 2.2.0, 2.1.1 > > Attachments: HIVE-14298.patch, HIVE-14298.patch, HIVE-14298.patch > > > In many cases where an ExpressionTree could not be made from a filter (e.g. > parser fails to parse a filter etc.) and its value is null. But this null is > passed around and used by a couple of HMS methods which can cause > NullPointerException. -- This message was sent by Atlassian JIRA (v6.3.4#6332)