WL#10761: ALTER TABLE RENAME COLUMN

Affects: Server-8.0   —   Status: Complete

To rename a column, MySQL provides syntax:

ALTER TABLE  CHANGE ...

which requires re-specification of all the attributes of the column. 

Disadvantages of the above syntax :
- All the column information might not be available to the application trying to 
  do the rename. 
- There is a risk of accidental data type change in the above syntax which might 
  result in data loss.

The proposed syntax is :
ALTER TABLE ... RENAME COLUMN old_name TO new_name;

This worklog will do the parser changes and implement the syntax changes.
The new proposed syntax is expected to behave the same as  "ALTER TABLE ...
CHANGE" command used to rename column, without changing column attributes.
The old syntax "ALTER TABLE ... CHANGE" to rename the column will continue
to work.

Related Bugs: BUG#26949, BUG#32497, BUG#58006