anuragmantri commented on code in PR #10644: URL: https://github.com/apache/iceberg/pull/10644#discussion_r1681386000
########## docs/docs/spark-writes.md: ########## @@ -195,16 +195,20 @@ WHERE EXISTS (SELECT oid FROM prod.db.returned_orders WHERE t1.oid = oid) For more complex row-level updates based on incoming data, see the section on `MERGE INTO`. ## Writing to Branches -Branch writes can be performed via SQL by providing a branch identifier, `branch_yourBranch` in the operation. -Branch writes can also be performed as part of a write-audit-publish (WAP) workflow by specifying the `spark.wap.branch` config. -Note WAP branch and branch identifier cannot both be specified. -Also, the branch must exist before performing the write. -The operation does **not** create the branch if it does not exist. -For more information on branches please refer to [branches](branching.md). + +The branch must exist before performing write. Operations do **not** create the branch if it does not exist. +A branch can be created using [Spark DDL](spark-ddl.md#branching-and-tagging-ddl). !!! info Note: When writing to a branch, the current schema of the table will be used for validation. +### Via SQL + +Branch writes can be performed by providing a branch identifier, `branch_yourBranch` in the operation. + +Branch writes can also be performed as part of a write-audit-publish (WAP) workflow by specifying the `spark.wap.branch` config. +Note WAP branch and branch identifier cannot both be specified. +Also, the branch must exist before performing the write. Review Comment: Oh sorry I missed that. I removed the redundant line -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org