You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "alex kamil (JIRA)" <ji...@apache.org> on 2015/10/21 21:16:27 UTC

[jira] [Created] (PHOENIX-2341) Rename in ALTER statement

alex kamil created PHOENIX-2341:
-----------------------------------

             Summary: Rename in ALTER statement
                 Key: PHOENIX-2341
                 URL: https://issues.apache.org/jira/browse/PHOENIX-2341
             Project: Phoenix
          Issue Type: Improvement
            Reporter: alex kamil
            Priority: Minor


Add RENAME functionality in ALTER statement (e.g. similar to PostgreSQL): 

ALTER TABLE name 
    RENAME  column TO new_column
ALTER TABLE name
    RENAME TO new_name
ALTER TABLE name
    SET SCHEMA new_schema

Reference: http://www.postgresql.org/docs/9.1/static/sql-altertable.html




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