Repository: phoenix Updated Branches: refs/heads/4.x-HBase-1.1 5fc6fa184 -> 79bd03e08
PHOENIX-2901 If namespaces are enabled, check for existence of schema when sequence created(Addendum) Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/79bd03e0 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/79bd03e0 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/79bd03e0 Branch: refs/heads/4.x-HBase-1.1 Commit: 79bd03e08547e0180eac4177105c50aa148ecfc3 Parents: 5fc6fa1 Author: Ankit Singhal <ankitsingha...@gmail.com> Authored: Fri Jun 10 16:33:34 2016 +0530 Committer: Ankit Singhal <ankitsingha...@gmail.com> Committed: Fri Jun 10 16:33:34 2016 +0530 ---------------------------------------------------------------------- .../org/apache/phoenix/end2end/TenantSpecificViewIndexIT.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/79bd03e0/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificViewIndexIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificViewIndexIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificViewIndexIT.java index 69d9140..9f95a77 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificViewIndexIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificViewIndexIT.java @@ -199,8 +199,9 @@ public class TenantSpecificViewIndexIT extends BaseTenantSpecificViewIndexIT { rs = conn.createStatement().executeQuery("explain select pk2,col1 from " + viewName + " where col1='f'"); if (localIndex) { assertEquals("CLIENT PARALLEL 1-WAY RANGE SCAN OVER " - + SchemaUtil.getPhysicalHBaseTableName(tableName, isNamespaceMapped, PTableType.TABLE) + " ['" - + tenantId + "',1,'f']\n" + " SERVER FILTER BY FIRST KEY ONLY\n" + "CLIENT MERGE SORT", + + Bytes.toString(MetaDataUtil.getLocalIndexPhysicalName(SchemaUtil + .getPhysicalHBaseTableName(tableName, isNamespaceMapped, PTableType.TABLE).getBytes())) + " ['" + + tenantId + "',-32768,'f']\n" + " SERVER FILTER BY FIRST KEY ONLY\n" + "CLIENT MERGE SORT", QueryUtil.getExplainPlan(rs)); } else { assertEquals("CLIENT PARALLEL 1-WAY RANGE SCAN OVER "