[ https://issues.apache.org/jira/browse/HIVE-10590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14542630#comment-14542630 ]
Ashutosh Chauhan commented on HIVE-10590: ----------------------------------------- +1 > fix potential NPE in HiveMetaStore.equals > ----------------------------------------- > > Key: HIVE-10590 > URL: https://issues.apache.org/jira/browse/HIVE-10590 > Project: Hive > Issue Type: Bug > Components: Metastore > Reporter: Alexander Pivovarov > Assignee: Alexander Pivovarov > Priority: Minor > Attachments: HIVE-10590.1.patch, rb33798.patch > > > The following code will throw NPE if both v1 and v2 are null. HiveMetaStore > (2028-2029) > {code} > String v1 = p1.getValues().get(i), v2 = p2.getValues().get(i); > if ((v1 == null && v2 != null) || !v1.equals(v2)) return false; > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)