[ 
https://issues.apache.org/jira/browse/FLINK-33087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

yuanfenghu updated FLINK-33087:
-------------------------------
    Description: 
If use flinksql to create a table:
{code:java}
CREATE TABLE `test_table` (
    `id` STRING PRIMARY KEY NOT ENFORCED COMMENT 'test_comment', 
    `gender` STRING COMMENT 'test_comment', )
COMMENT 'test'
 WITH (
...
); {code}
我们并不能在拿到字段的注释信息

  was:
如果使用flinksql建表,
{code:java}
CREATE TABLE `ods_kafka_stream_taf_report_lakehouse_pipeline_log_tes2t` (
    `id` STRING PRIMARY KEY NOT ENFORCED COMMENT 'test_comment', 
    `gender` STRING COMMENT 'test_comment', )
COMMENT 'test'
 WITH (
...
); {code}


> FlinkSql unable to parse field annotation information
> -----------------------------------------------------
>
>                 Key: FLINK-33087
>                 URL: https://issues.apache.org/jira/browse/FLINK-33087
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Planner
>    Affects Versions: 1.17.1
>            Reporter: yuanfenghu
>            Priority: Minor
>
> If use flinksql to create a table:
> {code:java}
> CREATE TABLE `test_table` (
>     `id` STRING PRIMARY KEY NOT ENFORCED COMMENT 'test_comment', 
>     `gender` STRING COMMENT 'test_comment', )
> COMMENT 'test'
>  WITH (
> ...
> ); {code}
> 我们并不能在拿到字段的注释信息



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to