You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This cookbook has a java snippet to update a snapshot property atomically with a sql MERGE INTO.
// Update the target table and set the watermark in the same commitCommitMetadata.withCommitProperties(
Map.of("watermark:raw.log_source", endSnapshotId),
() -> {
spark.sql("MERGE INTO ...");
return0;
}, RuntimeException.class);
It would be great if pyiceberg allowed me to similarly wrap my spark.sql call and add snapshot properties.