Github user twdsilva commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/126#discussion_r44839724
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
---
@@ -1222,7 +1228,7 @@ public void createTable(RpcController controller,
CreateTableRequest request,
// exists without making an additional query
PTable table =
loadTable(env, tableKey, cacheKey,
clientTimeStamp, HConstants.LATEST_TIMESTAMP);
- if (table != null) {
+ if (table != null && !isTableDeleted(table)) {
--- End diff --
I am not sure if this bug is related to UDFs. Some txn tests were failing
because table.getName() was null.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---