You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Jaanai (JIRA)" <ji...@apache.org> on 2018/10/14 14:11:00 UTC
[jira] [Commented] (PHOENIX-4971) Checking table name whether legal
when executes drop table
[ https://issues.apache.org/jira/browse/PHOENIX-4971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16649407#comment-16649407 ]
Jaanai commented on PHOENIX-4971:
---------------------------------
We need to check table names whether it is legal when invokes dropTable mothed in MetaDataClient class.
> Checking table name whether legal when executes drop table
> -----------------------------------------------------------
>
> Key: PHOENIX-4971
> URL: https://issues.apache.org/jira/browse/PHOENIX-4971
> Project: Phoenix
> Issue Type: Bug
> Reporter: Jaanai
> Assignee: Jaanai
> Priority: Major
>
> The blew SQL will be executed successfully, the name of data tables is incorrectly inputted that the parent table has the same name with index tables.
>
> {code:java}
> DROP INDEX INDEX_TABLE_X on INDEX_TABLE_X;
> {code}
> Some regions will not online and some queries will not normally execute after executing above SQL. Everything will be ok unless manually delete dirty metadata information in SYSTEM.CATALOG table.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)