wjxiz1992 commented on a change in pull request #2160:
URL: https://github.com/apache/iceberg/pull/2160#discussion_r566001446
##########
File path: site/docs/getting-started.md
##########
@@ -72,6 +73,14 @@ INSERT INTO local.db.table VALUES (1, 'a'), (2, 'b'), (3,
'c');
INSERT INTO local.db.table SELECT id, data FROM source WHERE length(data) = 1;
```
+Iceberg also adds row-level SQL updates to Spark, [`MERGE
INTO`](./spark.md#merge-into) and [`DELETE FROM`](./spark.md#delete-from):
+
+```sql
+MERGE INTO local.db.target t USING (SELECT * FROM updates) u ON t.id = u.id
+WHEN MATCHED THEN SET t.count = t.count + u.count
Review comment:
according to https://github.com/apache/iceberg/issues/2175, can you
update to "UPDATE SET"?
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]