rdblue commented on a change in pull request #4369:
URL: https://github.com/apache/iceberg/pull/4369#discussion_r832675487



##########
File path: docs/spark/spark-configuration.md
##########
@@ -185,4 +185,5 @@ df.write
 | snapshot-property._custom-key_    | null            | Adds an entry with 
custom-key and corresponding value in the snapshot summary  |
 | fanout-enabled       | false        | Overrides this table's 
write.spark.fanout.enabled  |
 | check-ordering       | true        | Checks if input schema and table schema 
are same  |
-
+| isolation-level | null | Desired isolation level for Dataframe overwrite 
operations.  Null => no checks, `serializable` => check for concurrent inserts 
or deletes in destination partitions, `snapshot` => checks for concurrent 
deletes in destination partitions. |
+| validate-from-snapshot-id | null | If isolation level is set, identifies 
base snapshot from which to check concurrent conflicts. If null, check from the 
first un-expired snapshot.  Obtain via 
`Spark3Util.loadIcebergTable().currentSnapshot().snapshotId()` |

Review comment:
       For this issue specifically, I think we should add a way to do common 
things in different environments. If Spark is present, then we should have some 
`Actions.get()` class that uses the current Spark context and 
`Catalogs.get(String name)` that gets the right catalog from Spark.




-- 
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]

Reply via email to