brianfromoregon opened a new issue, #368:
URL: https://github.com/apache/iceberg-python/issues/368

   ### Feature Request / Improvement
   
   This 
[cookbook](https://tabular.io/apache-iceberg-cookbook/data-engineering-incremental-processing/)
 has a java snippet to update a snapshot property atomically with a sql MERGE 
INTO. 
   
   ```java
   // Update the target table and set the watermark in the same commit
   CommitMetadata.withCommitProperties(
       Map.of("watermark:raw.log_source", endSnapshotId),
       () -> {
           spark.sql("MERGE INTO ...");
           return 0;
        }, RuntimeException.class);
   ```
   
   It would be great if pyiceberg allowed me to similarly wrap my spark.sql 
call and add snapshot properties.


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

Reply via email to