waywtdcc opened a new issue #4979:
URL: https://github.com/apache/hudi/issues/4979


   After the changelog mode is turned on, the flick synchronizes the changelog 
mode, but the - U operation record of a long time ago has not been deleted
   
   
![image](https://user-images.githubusercontent.com/59957056/157179049-8e4a9772-4f0e-4931-b465-efc2f2f02575.png)
   
   `CREATE TABLE `hudi.users_cdc_kafka_hudi`(
   )
   ROW FORMAT SERDE 
     'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' 
   STORED AS INPUTFORMAT 
     'org.apache.hadoop.mapred.TextInputFormat' 
   OUTPUTFORMAT 
     'org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat'
   LOCATION
     'hdfs://test/user/hive/warehouse/hudi.db/users_cdc_kafka_hudi'
   TBLPROPERTIES (
     'flink.changelog.enabled'='true', 
     'flink.compaction.async.enabled'='true', 
     'flink.compaction.delta_commits'='1', 
     'flink.compaction.tasks'='1', 
     'flink.compaction.trigger.strategy'='num_or_time', 
     'flink.connector'='hudi', 
     'flink.hive_sync.db'='hudi', 
     'flink.hive_sync.enable'='true', 
     
'flink.hive_sync.metastore.uris'='thrift://pmaster:53083,thrift://pnode3:53083,thrift://pnode1:53083',
 
     'flink.hive_sync.mode'='hms', 
     'flink.hive_sync.table'='users_cdc_kafka_hudi', 
     'flink.hoodie.datasource.write.recordkey.field'='id', 
     'flink.index.bootstrap.enabled'='true', 
     'flink.index.global.enabled'='true', 
     'flink.index.state.ttl'='0', 
     'flink.partition.keys.0.name'='date_str', 
     
'flink.path'='hdfs://test//user/hive/warehouse/hudi.db/users_cdc_kafka_hudi', 
     'flink.schema.0.data-type'='BIGINT NOT NULL', 
     'flink.schema.0.name'='id', 
     'flink.schema.1.data-type'='VARCHAR(2147483647)', 
     'flink.schema.1.name'='name', 
     'flink.schema.2.data-type'='TIMESTAMP(3)', 
     'flink.schema.2.name'='birthday', 
     'flink.schema.3.data-type'='TIMESTAMP(3)', 
     'flink.schema.3.name'='ts', 
     'flink.schema.4.data-type'='VARCHAR(2147483647)', 
     'flink.schema.4.name'='date_str', 
     'flink.schema.primary-key.columns'='id', 
     'flink.schema.primary-key.name'='PK_3386', 
     'flink.table.type'='MERGE_ON_READ', 
     'flink.write.tasks'='1', 
     'transient_lastDdlTime'='1645587220')
   `
   
   **Environment Description**
   
   * Hudi version : 0.10.0
   
   * Flink version :1.13.5
   
   
   **Additional context**
   
   Add any other context about the problem here.
   
   **Stacktrace**
   
   ```Add the stacktrace of the error.```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to