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

    https://github.com/apache/phoenix/pull/189#discussion_r74650871
  
    --- Diff: 
phoenix-core/src/it/java/org/apache/phoenix/end2end/index/DropMetadataIT.java 
---
    @@ -84,14 +77,17 @@ public static void doSetup() throws Exception {
         @Test
         public void testDropViewKeepsHTable() throws Exception {
             HBaseAdmin admin = driver.getConnectionQueryServices(getUrl(), 
TEST_PROPERTIES).getAdmin();
    +        String hbaseNativeViewName = generateRandomString();
    +
    +        byte[] hbaseNativeBytes = 
SchemaUtil.getTableNameAsBytes(HBASE_NATIVE_SCHEMA_NAME, hbaseNativeViewName);
             try {
                 try {
    -                admin.disableTable(HBASE_NATIVE_BYTES);
    -                admin.deleteTable(HBASE_NATIVE_BYTES);
    +                admin.disableTable(hbaseNativeBytes);
    --- End diff --
    
    No need to disable and delete table since you the name is random.


---
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