koenvo commented on PR #1878:
URL: https://github.com/apache/iceberg-python/pull/1878#issuecomment-2824024523

   When we don't check if rows are updated, we can probably replace `upsert` by:
   
   ```python
   with self.transaction() as tx:
       overwrite_mask_predicate = upsert_util.create_match_filter(df, join_cols)
       tx.overwrite(df, overwrite_filter=overwrite_mask_predicate)
   ```
   
   Only need a way to figure out the updated/inserted rows.


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

Reply via email to