You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Abhishek Singh Chouhan (JIRA)" <ji...@apache.org> on 2019/03/26 01:20:00 UTC

[jira] [Commented] (PHOENIX-5207) Create index if not exists fails incorrectly if table has 'maxIndexesPerTable' indexes already

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

Abhishek Singh Chouhan commented on PHOENIX-5207:
-------------------------------------------------

[~tdsilva]

> Create index if not exists fails incorrectly if table has 'maxIndexesPerTable' indexes already 
> -----------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-5207
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5207
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.1
>            Reporter: Abhishek Singh Chouhan
>            Assignee: Abhishek Singh Chouhan
>            Priority: Major
>             Fix For: 4.14.2
>
>         Attachments: PHOENIX-5207-4.14-HBase-1.4.patch
>
>
> If a table has 'maxIndexesPerTable' indexes and we try to create another one and if it already exists we should not throw 'ERROR 1047 (43A04): Too many indexes have already been created' since weve put 'if not exists' already in the statement.



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