From eb0d33dea651a57c138260167ddd1b9b2f4c44ff Mon Sep 17 00:00:00 2001 From: zhongyujiang Date: Wed, 24 Sep 2025 17:05:25 +0800 Subject: [PATCH] fix: incorrect descriptions of snapshot operations in write-related functions. --- pyiceberg/table/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyiceberg/table/__init__.py b/pyiceberg/table/__init__.py index 7c63aa79a1..8aaf04c1f1 100644 --- a/pyiceberg/table/__init__.py +++ b/pyiceberg/table/__init__.py @@ -566,7 +566,7 @@ def overwrite( An overwrite may produce zero or more snapshots based on the operation: - DELETE: In case existing Parquet files can be dropped completely. - - REPLACE: In case existing Parquet files need to be rewritten. + - OVERWRITE: In case existing Parquet files need to be rewritten to drop rows that match the overwrite filter. - APPEND: In case new data is being inserted into the table. Args: @@ -626,7 +626,7 @@ def delete( A delete may produce zero or more snapshots based on the operation: - DELETE: In case existing Parquet files can be dropped completely. - - REPLACE: In case existing Parquet files need to be rewritten + - OVERWRITE: In case existing Parquet files need to be rewritten to drop rows that match the delete filter. Args: delete_filter: A boolean expression to delete rows from a table @@ -1389,7 +1389,7 @@ def overwrite( An overwrite may produce zero or more snapshots based on the operation: - DELETE: In case existing Parquet files can be dropped completely. - - REPLACE: In case existing Parquet files need to be rewritten. + - OVERWRITE: In case existing Parquet files need to be rewritten to drop rows that match the overwrite filter.. - APPEND: In case new data is being inserted into the table. Args: