yanxinyi commented on a change in pull request #606: PHOENIX-5543: Implement 
SHOW TABLES/SCHEMAS sql commands
URL: https://github.com/apache/phoenix/pull/606#discussion_r341772801
 
 

 ##########
 File path: 
phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificTablesDDLIT.java
 ##########
 @@ -430,14 +431,43 @@ private void validateTenantViewIsDropped(Connection 
connTenant)  throws SQLExcept
                        //Expected
                }
        }
-    
+
+       @Test
+    public void testShowTablesMultiTenant() throws Exception {
+        // Each tenant should only be able list tables corresponding to their 
TENANT_ID
+        String tenantId2 = "T_" + generateUniqueName();
+        String secondTenantConnectionURL = 
PHOENIX_JDBC_TENANT_SPECIFIC_URL.replace(TENANT_ID,  tenantId2);
 
 Review comment:
   nit: more than 100 char per line

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to