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

回复