[ http://issues.apache.org/jira/browse/DERBY-396?page=all ]

Bryan Pendleton updated DERBY-396:
----------------------------------

    Attachment: dropColumn_1.diff

Attached file 'dropColumn_1.diff' is a first attempt at providing support for
   ALTER TABLE DROP COLUMN 

This patch contains some small changes to the parser/compiler to recognize
the new ALTER TABLE syntax, and uses the existing code in
AlterTableConstantAction.java for the execution support.

The patch contains a small amount of new test code, but really I haven't done
much testing yet; I suspect that there is a LOT more testing to do, and I'm
hoping that reviewers will suggest particular test cases that would be of
interest.

I'm particularly interested in feedback about the parser changes, and about 
testing,
but of course all feedback is very gratefully appreciated.

> Support for ALTER STATEMENT to DROP ,  MODIFY, RENAME a COLUMN
> --------------------------------------------------------------
>
>          Key: DERBY-396
>          URL: http://issues.apache.org/jira/browse/DERBY-396
>      Project: Derby
>         Type: New Feature

>   Components: SQL
>  Environment: LINUX 
>     Reporter: Kumar Matcha
>     Assignee: Bryan Pendleton
>  Attachments: dropColumn_1.diff
>
> Alter Statement should support  dropping a column, modifying a column to a 
> different data type , rename a column.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to