nastra commented on code in PR #13231:
URL: https://github.com/apache/iceberg/pull/13231#discussion_r2128042776
##########
docs/docs/spark-writes.md:
##########
@@ -331,6 +332,26 @@ data.writeTo("prod.db.table")
.createOrReplace()
```
+### Merging data
+
+Spark 4.0 added support for performing a MERGE INTO query using the
`DataFrameWriterV2` API.
+
+A MERGE INTO query updates a table, the _target_ table, using a set of updates
from the _source_, which in this case, is a `DataFrame`:
Review Comment:
```suggestion
A MERGE INTO query updates a _target_ table using a set of updates from the
_source_, which in this case, is a `DataFrame`:
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]