Aman Poonia created PHOENIX-5186: ------------------------------------ Summary: Remove redundant check for local in metadata client Key: PHOENIX-5186 URL: https://issues.apache.org/jira/browse/PHOENIX-5186 Project: Phoenix Issue Type: Improvement Affects Versions: 4.14.1 Reporter: Aman Poonia Assignee: Aman Poonia
Remove redundant check for local index type in metadata client {code:java} if (index.getIndexType() != IndexType.LOCAL) { if (index.getIndexType() != IndexType.LOCAL) { if (table.getType() != PTableType.VIEW) { rowCount += updateStatisticsInternal(index.getPhysicalName(), index, updateStatisticsStmt.getProps(), true); } else { rowCount += updateStatisticsInternal(table.getPhysicalName(), index, updateStatisticsStmt.getProps(), true); } } }{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)