Github user ankitsinghal commented on a diff in the pull request: https://github.com/apache/phoenix/pull/153#discussion_r57677898 --- Diff: phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java --- @@ -1562,7 +1678,7 @@ private MetaDataMutationResult doDropTable(byte[] key, byte[] tenantId, byte[] s } if (tableType != PTableType.VIEW) { // Add to list of HTables to delete, unless it's a view - tableNamesToDelete.add(table.getName().getBytes()); + tableNamesToDelete.add(table.getPhysicalName().getBytes()); --- End diff -- Yeah , LocalIndexIT and ViewIT covers dropTable tests.
--- 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. ---