Github user ankitsinghal commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/153#discussion_r58993453
  
    --- Diff: 
phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java ---
    @@ -631,7 +664,7 @@ private boolean 
addIndexesFromPhysicalTable(MetaDataMutationResult result, Long
             if (view.getType() != PTableType.VIEW || view.getViewType() == 
ViewType.MAPPED) {
                 return false;
             }
    -        String physicalName = view.getPhysicalName().getString();
    +        String physicalName = view.getPhysicalNames().get(0).toString();
    --- End diff --
    
    Yes, we don't support views over multiple tables that's why I used get(0) 
only. But I have undo it by modifying the other api's to resolve schema and 
table-name correctly even if namespace separator is present. like 
SchemaUtil.getTableNameFromFullName()


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to