stayrascal opened a new issue #2712: URL: https://github.com/apache/hudi/issues/2712
**_Tips before filing an issue_** - Have you gone through our [FAQs](https://cwiki.apache.org/confluence/display/HUDI/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** The [document](https://hudi.apache.org/docs/flink-quick-start-guide.html#deletes) of delete data is not clear. **To Reproduce** Steps to reproduce the behavior: 1. create table and insert data ``` set execution.result-mode=tableau; CREATE TABLE t1( uuid VARCHAR(20), name VARCHAR(10), age INT, ts TIMESTAMP(3), `partition` VARCHAR(20) ) PARTITIONED BY (`partition`) WITH ( 'connector' = 'hudi', 'path' = 'schema://base-path', 'table.type' = 'COPY_ON_WRITE' -- this creates a MERGE_ON_READ table, by default is COPY_ON_WRITE ); ``` 2. delete data ``` delete from hudi_flink_example where age > 50; [ERROR] Could not execute SQL statement. Reason: org.apache.flink.table.api.TableException: Unsupported query: delete from hudi_flink_example where age > 50 ``` **Expected behavior** What's the correct way to delete data **Environment Description** AWS EMR, flink 1.11, hudi 0.8.0 snapshot (0.7.0 not support HoodieTableFactory ) * Hudi version : * Spark version : * Hive version : * Hadoop version : * Storage (HDFS/S3/GCS..) : s3 * Running on Docker? (yes/no) : 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. For queries about this service, please contact Infrastructure at: [email protected]
