You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Xinyi Yan (JIRA)" <ji...@apache.org> on 2019/02/20 08:50:00 UTC

[jira] [Commented] (PHOENIX-4345) Error message for incorrect index is not accurate

    [ https://issues.apache.org/jira/browse/PHOENIX-4345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16772775#comment-16772775 ] 

Xinyi Yan commented on PHOENIX-4345:
------------------------------------

[~aertoria] should we create a new exception here? Such as IndexNotFoundException? or reuse TableNotFoundException with ERROR msg "Index undefined"?

> Error message for incorrect index is not accurate
> -------------------------------------------------
>
>                 Key: PHOENIX-4345
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4345
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Ethan Wang
>            Priority: Trivial
>
> Error message for incorrect index is not accurate. it shows "table undefined". rather, should be index undefined.
> Table name: PERSON
> Index name: LOCAL_ADDRESS
> 0: jdbc:phoenix:localhost:2181:/hbase> ALTER INDEX LOCAL_ADDRESSX ON PERSON rebuild;
> Error: ERROR 1012 (42M03): Table undefined. tableName=LOCAL_ADDRESSX (state=42M03,code=1012)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)