You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2014/08/12 19:29:12 UTC

[jira] [Updated] (AMBARI-6829) Errors in Oracle DDL related to admin* table structure

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

Siddharth Wagle updated AMBARI-6829:
------------------------------------

    Description: 
UQ_permission_name_resource_type_id 
identifier name is too long. Note that for proper upgrade name change should be consistent across all scripts and upgrade catalogs.

Inserts are broken:
{code}
insert into adminprincipaltype (principal_type_id, principal_type_name)
  select 1, 'USER'
  union all
  select 2, 'GROUP';
{code}

select statements lack 'from dual' part required by Oracle.

> Errors in Oracle DDL related to admin* table structure
> ------------------------------------------------------
>
>                 Key: AMBARI-6829
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6829
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.7.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-6829.patch
>
>
> UQ_permission_name_resource_type_id 
> identifier name is too long. Note that for proper upgrade name change should be consistent across all scripts and upgrade catalogs.
> Inserts are broken:
> {code}
> insert into adminprincipaltype (principal_type_id, principal_type_name)
>   select 1, 'USER'
>   union all
>   select 2, 'GROUP';
> {code}
> select statements lack 'from dual' part required by Oracle.



--
This message was sent by Atlassian JIRA
(v6.2#6252)