phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas D'Silva (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-4434) UpgradeUtil.upgradeTable does not upgrade view index physical table of multi-tenant tables if there are no view indexes currently
Date Tue, 05 Dec 2017 03:00:02 GMT
Thomas D'Silva created PHOENIX-4434:
---------------------------------------

             Summary: UpgradeUtil.upgradeTable does not upgrade view index physical table
of multi-tenant tables if there are no view indexes currently
                 Key: PHOENIX-4434
                 URL: https://issues.apache.org/jira/browse/PHOENIX-4434
             Project: Phoenix
          Issue Type: Bug
            Reporter: Thomas D'Silva


We pre-create the physical view index table for multi-tenant tables at creation time. 
The following code does not handle this case
{code}
   // check whether table is properly upgraded before upgrading indexes
            if (table.isNamespaceMapped()) {
                for (PTable index : table.getIndexes()) {
                    String srcTableName = index.getPhysicalName().getString();
                    String destTableName = null;
                    String phoenixTableName = index.getName().getString();
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message