David Mollitor created HIVE-23057: ------------------------------------- Summary: ColumnStatsMergerFactory NPE Possible Key: HIVE-23057 URL: https://issues.apache.org/jira/browse/HIVE-23057 Project: Hive Issue Type: Improvement Reporter: David Mollitor Assignee: David Mollitor
{code:java|title=ColumnStatsMergerFactory.java} // make sure that they have the same type typeNew = typeNew == typeOld ? typeNew : null; switch (typeNew) { case BOOLEAN_STATS: {code} This will throw a NPE if 'typeNew' does not equal 'typeOld'. Better to throw an Exception with a helpful error message here. -- This message was sent by Atlassian Jira (v8.3.4#803005)