phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xinyi Yan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4345) Error message for incorrect index is not accurate
Date Wed, 20 Feb 2019 08:50:00 GMT

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

Mime
View raw message