chenbodeng719 opened a new issue, #10781: URL: https://github.com/apache/hudi/issues/10781
**_Tips before filing an issue_** - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)? - Join the mailing list to engage in conversations and get faster support at [email protected]. - If you have triaged this as a bug, then file an [issue](https://issues.apache.org/jira/projects/HUDI/issues) directly. **Describe the problem you faced** A clear and concise description of the problem. **To Reproduce** Steps to reproduce the behavior: 1. I have duplicate rows in my table . The below is my flink hudi config. And I use pyspark to read the table, but I get duplicate data. ``` # flink write hudi conf CREATE TABLE hudi_sink( new_uid STRING PRIMARY KEY NOT ENFORCED, uid STRING, oridata STRING, part INT, user_update_date STRING, update_time TIMESTAMP_LTZ(3) ) PARTITIONED BY ( `part` ) WITH ( 'table.type' = 'MERGE_ON_READ', 'connector' = 'hudi', 'path' = '%s', 'write.operation' = 'upsert', 'precombine.field' = 'update_time', 'write.tasks' = '%s', 'index.type' = 'BUCKET', 'hoodie.bucket.index.hash.field' = 'new_uid', 'hoodie.bucket.index.num.buckets' = '%s', 'clean.retain_commits' = '0', 'compaction.async.enabled' = 'false' ) # spark read readOptions = { "hoodie.datasource.query.type":"read_optimized" } prof_df = sqlc.read \ .format('org.apache.hudi') \ .options(**readOptions) \ .load(tpath) ``` **Expected behavior** A clear and concise description of what you expected to happen. **Environment Description** * Hudi version : * Spark version : * Hive version : * Hadoop version : * Storage (HDFS/S3/GCS..) : * Running on Docker? (yes/no) : **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]
