yihua opened a new issue, #20894: URL: https://github.com/apache/hudi/issues/20894
A Spark SQL MERGE INTO whose merge condition is always false (`ON 1 != 1`, `ON false`) is a common way to insert the source rows through the not-matched clauses, and works on a table without a record key. On a table with a record key it fails with "Currently only equality predicates are supported in MERGE INTO statement on record key table", because the command requires an equality on the record key to locate records. Such a statement matches nothing, so it can run as the INSERT INTO it amounts to, applying the first not-matched clause that accepts each source row. -- 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]
