[ 
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}
We cannot get the annotation information of the column

org.apache.flink.table.planner.operations.SqlCreateTableConverter#createCatalogTable
The comment of the column is not parsed. 这和 FLIP-164 有关

  was:
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}
We cannot get the annotation information of the column

org.apache.flink.table.planner.operations.SqlCreateTableConverter#createCatalogTable

并没有解析出字段的注释信息


> 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}
> We cannot get the annotation information of the column
> org.apache.flink.table.planner.operations.SqlCreateTableConverter#createCatalogTable
> The comment of the column is not parsed. 这和 FLIP-164 有关



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

Reply via email to