Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 2.9.0
-
ghx-label-4
Description
The current SQL grammar (v2.9) allows for comments on objects at creation time but does not allow for modification post-fact. Postgres and others support the COMMENT ON syntax although it is not part of the ANSI standard.
For example:
COMMENT ON DATABASE my_database IS 'Development Database'; COMMENT ON TABLE my_schema.my_table IS 'Employee Information'; COMMENT ON COLUMN my_table.my_column IS 'Employee ID number'; COMMENT ON VIEW my_view IS 'View of departmental costs'; COMMENT ON FUNCTION my_function (timestamp) IS 'Returns Roman Numeral'; COMMENT ON DATABASE my_database IS NULL; -- to remove a comment
References:
Attachments
Attachments
Issue Links
- is duplicated by
-
IMPALA-6236 Enhance alter view command to add or change comments in columns
- Resolved
1.
|
Implement COMMENT ON DATABASE | Resolved | Fredy Wijaya | ||
2.
|
Implement COMMENT ON TABLE/VIEW | Resolved | Fredy Wijaya | ||
3.
|
Implement COMMENT ON COLUMN | Resolved | Fredy Wijaya | ||
4.
|
Impala 3.1 Doc: Doc the COMMENT ON statements | Closed | Alexandra Rodoni |