[
https://issues.apache.org/jira/browse/FLINK-29679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17620127#comment-17620127
]
Yubin Li commented on FLINK-29679:
----------------------------------
[~martijnvisser] Thanks for your reminds, the feature doesn't change sql syntax
exposed to users, just print more useful contents for users, and most analysts
need such messages. furtuer more, in many popular data engines like sparksql,
`DESCRIBE` also shows column comment.
{code:java}
DESCRIBE TABLE customer;
+-----------------------+---------+----------+
| col_name|data_type| comment|
+-----------------------+---------+----------+
| cust_id| int| null|
| name| string|Short name|
| state| string| null|
|# Partition Information| | |
| # col_name|data_type| comment|
| state| string| null|
+-----------------------+---------+----------+
{code}
> DESCRIBE statement shows column comment
> ---------------------------------------
>
> Key: FLINK-29679
> URL: https://issues.apache.org/jira/browse/FLINK-29679
> Project: Flink
> Issue Type: New Feature
> Components: Table SQL / API
> Affects Versions: 1.17.0
> Reporter: Yubin Li
> Assignee: Yubin Li
> Priority: Major
>
> comment is very helpful to make table schema user-friendly, many data
> analysers rely on such message to write sql adaptive to corresponding
> business logics.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)