phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aman Poonia (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-5186) Remove redundant check for local in metadata client
Date Mon, 11 Mar 2019 12:29:00 GMT
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)

Mime
View raw message