[
https://issues.apache.org/jira/browse/IMPALA-6918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16791324#comment-16791324
]
ASF subversion and git services commented on IMPALA-6918:
---------------------------------------------------------
Commit 8cd6c290fa13eefaa3153420d211bc919732e47d in impala's branch
refs/heads/2.x from Fredy Wijaya
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=8cd6c29 ]
IMPALA-6918: Implement COMMENT ON COLUMN
This patch implements updating comment on column table or view.
Syntax:
-- Add a comment 'comment' into column: db.table_or_view.col
COMMENT ON COLUMN db.table_or_view.col IS 'comment'
-- Delete a comment from column: db.table_or_view.col
COMMENT ON COLUMN db.table_or_view.col IS NULL
Testing:
- Added new front-end tests
- Ran all front-end tests
- Added new end-to-end tests
- Ran end-to-end DDL tests
Change-Id: I8976705b27e98c1540941d0a6cba0e18bad48437
Reviewed-on: http://gerrit.cloudera.org:8080/10754
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Implement COMMENT ON COLUMN
> ---------------------------
>
> Key: IMPALA-6918
> URL: https://issues.apache.org/jira/browse/IMPALA-6918
> Project: IMPALA
> Issue Type: Sub-task
> Components: Frontend
> Reporter: Fredy Wijaya
> Assignee: Fredy Wijaya
> Priority: Minor
> Fix For: Impala 3.1.0
>
>
> Syntax:
> {noformat}
> COMMENT ON COLUMN my_table.my_column IS 'Employee ID Number';{noformat}
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]