You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Adam Kramer (JIRA)" <ji...@apache.org> on 2009/05/17 23:25:45 UTC

[jira] Created: (HIVE-491) Comments and ALTER TABLE

Comments and ALTER TABLE
------------------------

                 Key: HIVE-491
                 URL: https://issues.apache.org/jira/browse/HIVE-491
             Project: Hadoop Hive
          Issue Type: Improvement
          Components: Clients, Documentation, Metastore, Query Processor
            Reporter: Adam Kramer


Comments are good! They exist about tables and about columns and all sorts of things. However, the ALTER TABLE syntax allows us to ADD COLUMNS but not comments...we should make it as easy as possible for everybody to add comments to a table, especially regarding descriptions of columns.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HIVE-491) Comments and ALTER TABLE

Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Chakka resolved HIVE-491.
--------------------------------

    Resolution: Fixed
      Assignee: Prasad Chakka

Actually adding comments is allowed under a different syntax.

alter table abc ( a string COMMENT 'comment string');

This is also MySQL syntax. So use this syntax and I modified the wiki accordingly.

> Comments and ALTER TABLE
> ------------------------
>
>                 Key: HIVE-491
>                 URL: https://issues.apache.org/jira/browse/HIVE-491
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Clients, Documentation, Metastore, Query Processor
>            Reporter: Adam Kramer
>            Assignee: Prasad Chakka
>
> Comments are good! They exist about tables and about columns and all sorts of things. However, the ALTER TABLE syntax allows us to ADD COLUMNS but not comments...we should make it as easy as possible for everybody to add comments to a table, especially regarding descriptions of columns.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.