Github user gatorsmile commented on the issue:
https://github.com/apache/spark/pull/16685
To support the UPSERT, this PR basically implements it by using SELECT,
UPDATE and INSERT. It has to read the whole table from the JDBC-connected
database, and process it in Spark. It does not perform well when the target
table is huge. We are still facing the same issue caused by the UPDATE.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]