You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Ankit Singhal (JIRA)" <ji...@apache.org> on 2016/05/24 13:06:12 UTC

[jira] [Updated] (PHOENIX-2901) If namespaces are enabled, check for existence of schema when sequence created

     [ https://issues.apache.org/jira/browse/PHOENIX-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ankit Singhal updated PHOENIX-2901:
-----------------------------------
    Attachment: PHOENIX-2901.patch

[~giacomotaylor],can you please review the attached patch.

> If namespaces are enabled, check for existence of schema when sequence created
> ------------------------------------------------------------------------------
>
>                 Key: PHOENIX-2901
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2901
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: Ankit Singhal
>         Attachments: PHOENIX-2901.patch
>
>
> If namespaces are enabled, we should check for the existence of the sequence schema before creating the sequence. There are some sequences that are generated by Phoenix to manage indexes over views which auto generate a schema name. Perhaps it'd be better if those used the SYSTEM schema instead and prepended the sequence name with the previous schema name to ensure uniqueness.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)