You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Aman Poonia (JIRA)" <ji...@apache.org> on 2019/03/11 12:29:00 UTC
[jira] [Created] (PHOENIX-5186) Remove redundant check for local in
metadata client
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)