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