phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brfrn169 <...@git.apache.org>
Subject [GitHub] phoenix pull request #261: PHOENIX-3944 ReadOnlyTableException occurs when w...
Date Thu, 22 Jun 2017 12:23:25 GMT
Github user brfrn169 commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/261#discussion_r123495103
  
    --- Diff: phoenix-core/src/main/java/org/apache/phoenix/util/SchemaUtil.java ---
    @@ -1016,7 +1017,8 @@ public static TableName getPhysicalTableName(byte[] fullTableName,
boolean isNam
         public static PName getPhysicalHBaseTableName(String tableName, boolean isNamespaceMapped,
PTableType type) {
             if (!isNamespaceMapped) { return PNameFactory.newName(tableName); }
             return PNameFactory
    -                .newName(tableName.replace(QueryConstants.NAME_SEPARATOR, QueryConstants.NAMESPACE_SEPARATOR));
    +                .newName(StringUtils.replaceOnce(
    --- End diff --
    
    If we want to create the view NS."AAA.BBB", the original logic returns NS:AAA:BBB as a
physical hbase table name. We need the name NS:AAA.BBB .


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message