xuzifu666 opened a new issue, #8131: URL: https://github.com/apache/hudi/issues/8131
**_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** spark.sql( s""" |merge into hudi_cow_pt_tbl as target |using ( | select id, name, data, country, ts from inc_table |) source |on source.id = target.id |when matched and source.data > target.data then |update set target.data = source.data, target.ts = source.ts |when matched and source.data = 12 then |update set target.data = source.data, target.ts = source.ts |when not matched then |insert * |""".stripMargin) when we execute sparksql as above,would report “Only one updating action is supported in MERGE INTO statement ”, but in actual,we need the more than one update action,the factor block many business for a long time A clear and concise description of the problem. **To Reproduce** Steps to reproduce the behavior: 1. 2. 3. 4. **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]
