[ https://issues.apache.org/jira/browse/FLINK-28750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn Visser updated FLINK-28750: ----------------------------------- Component/s: Connectors / Hive > Whether to add field comment for hive table > ------------------------------------------- > > Key: FLINK-28750 > URL: https://issues.apache.org/jira/browse/FLINK-28750 > Project: Flink > Issue Type: Improvement > Components: Connectors / Hive > Reporter: hehuiyuan > Priority: Minor > Attachments: image-2022-07-30-15-53-03-754.png, > image-2022-07-30-16-36-37-032.png > > > Currently, I have a hive ddl,as follows > {code:java} > "set table.sql-dialect=hive;\n" + > "CREATE TABLE IF NOT EXISTS myhive.dev.shipu3_test_1125 (\n" + > " `id` int COMMENT 'iadddd',\n" + > " `cartdid` bigint COMMENT 'aaa',\n" + > " `customer` string COMMENT 'vvvv',\n" + > " `product` string COMMENT 'cccc',\n" + > " `price` double COMMENT '',\n" + > " `dt` STRING COMMENT ''\n" + > ") PARTITIONED BY (dt STRING) STORED AS TEXTFILE TBLPROPERTIES (\n" + > " 'streaming-source.enable' = 'false',\n" + > " 'streaming-source.partition.include' = 'all',\n" + > " 'lookup.join.cache.ttl' = '12 h'\n" + > ")"; {code} > It is parsed as SqlCreateHiveTable by hive dialect parser. But the field > commet is lost. > > > !image-2022-07-30-16-36-37-032.png|width=777,height=526! > > > > > > > > > -- This message was sent by Atlassian Jira (v8.20.10#820010)