You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-zh@flink.apache.org by kcz <57...@qq.com.INVALID> on 2021/09/27 03:21:04 UTC
flink-1.12.5 定义HIVDE DDL ,并且有comment,但是hive表里面没有体现出comment
hive版本3.1.0
ddl如下:
create table test_hive(
id int comment 'test comment'
) PARTITIONED BY (dt STRING) STORED AS orc TBLPROPERTIES (
'partition.time-extractor.kind'='custom',
'partition.time-extractor.timestamp-pattern'='$dt',
'partition.time-extractor.class'='com.hycan.bigdata.utils.MyPartTimeExtractor',
'sink.partition-commit.trigger'='partition-time',
'sink.partition-commit.delay'='1 d',
'sink.partition-commit.policy.kind'='metastore,success-file'
);
实际使用hive desc formatted test_hive 没有看到comment
Re: flink-1.12.5 定义HIVDE DDL ,并且有comment,但是hive表里面没有体现出comment
Posted by Caizhi Weng <ts...@gmail.com>.
Hi!
这个问题已经在社区提出过了,可以在 https://issues.apache.org/jira/browse/FLINK-18958
这里追踪解决进度。
kcz <57...@qq.com.invalid> 于2021年9月27日周一 上午11:21写道:
> hive版本3.1.0
> ddl如下:
> create table test_hive(
> id int comment 'test comment'
> ) PARTITIONED BY (dt STRING) STORED AS orc TBLPROPERTIES (
> 'partition.time-extractor.kind'='custom',
> 'partition.time-extractor.timestamp-pattern'='$dt',
>
> 'partition.time-extractor.class'='com.hycan.bigdata.utils.MyPartTimeExtractor',
> 'sink.partition-commit.trigger'='partition-time',
> 'sink.partition-commit.delay'='1 d',
> 'sink.partition-commit.policy.kind'='metastore,success-file'
> );
>
> 实际使用hive desc formatted test_hive 没有看到comment