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

ASF GitHub Bot commented on TRAFODION-2371:
-------------------------------------------

GitHub user DaveBirdsall opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/856

    [TRAFODION-2371] Fix ALTER TALBE RENAME for IDENTITY columns

    When ALTER TABLE RENAME is done on a table having an IDENTITY column, the 
sequence name of the IDENTITY column was not updated. That caused DML which 
requires sequence values (e.g., INSERT) to fail. This code change adds logic to 
take care of renaming the sequence name for IDENTITY columns.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/DaveBirdsall/incubator-trafodion Trafodion2371

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/856.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #856
    
----
commit 8c71ef682dc422eae7312f003852b0b5ce31fcc9
Author: Dave Birdsall <[email protected]>
Date:   2016-11-28T22:58:32Z

    [TRAFODION-2371] Fix ALTER TALBE RENAME for IDENTITY columns

----


> Renaming a table having an identity column doesn't quite work
> -------------------------------------------------------------
>
>                 Key: TRAFODION-2371
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2371
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: sql-cmp
>    Affects Versions: 2.1-incubating
>            Reporter: David Wayne Birdsall
>            Assignee: David Wayne Birdsall
>




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

Reply via email to