From b9cb5982bf3787ef70ff981ed7fbf86d322eb4ba Mon Sep 17 00:00:00 2001 From: Arnau Villoro Date: Wed, 10 Dec 2025 08:42:21 +0100 Subject: [PATCH 1/3] [skip-ci] Improve `athena.to_iceberg` documentation --- awswrangler/athena/_write_iceberg.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awswrangler/athena/_write_iceberg.py b/awswrangler/athena/_write_iceberg.py index 87468f975..556a9a6df 100644 --- a/awswrangler/athena/_write_iceberg.py +++ b/awswrangler/athena/_write_iceberg.py @@ -411,11 +411,11 @@ def to_iceberg( # noqa: PLR0913 https://docs.aws.amazon.com/athena/latest/ug/merge-into-statement.html merge_condition - The condition to be used in the MERGE INTO statement. Valid values: ['update', 'ignore']. + The condition to be used in the MERGE INTO statement. Valid values: ['update', 'ignore']. Default is ``update``. merge_match_nulls - Instruct whether to have nulls in the merge condition match other nulls + Instruct whether to have nulls in the merge condition match other nulls. keep_files - Whether staging files produced by Athena are retained. 'True' by default. + Whether staging files produced by Athena are retained. Default is ``True``. data_source Data Source / Catalog name. If None, 'AwsDataCatalog' will be used by default. s3_output From 0711f4c8ab6e25e85bfedf54b3fc0808bfaa10cd Mon Sep 17 00:00:00 2001 From: Arnau Villoro Date: Wed, 10 Dec 2025 08:47:20 +0100 Subject: [PATCH 2/3] [skip-ci] split long line --- awswrangler/athena/_write_iceberg.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/awswrangler/athena/_write_iceberg.py b/awswrangler/athena/_write_iceberg.py index 556a9a6df..37e00be7f 100644 --- a/awswrangler/athena/_write_iceberg.py +++ b/awswrangler/athena/_write_iceberg.py @@ -411,7 +411,8 @@ def to_iceberg( # noqa: PLR0913 https://docs.aws.amazon.com/athena/latest/ug/merge-into-statement.html merge_condition - The condition to be used in the MERGE INTO statement. Valid values: ['update', 'ignore']. Default is ``update``. + The condition to be used in the MERGE INTO statement. Valid values: ['update', 'ignore']. + Default is ``update``. merge_match_nulls Instruct whether to have nulls in the merge condition match other nulls. keep_files @@ -448,7 +449,7 @@ def to_iceberg( # noqa: PLR0913 e.g. {'col name': 'bigint', 'col2 name': 'int'} catalog_id The ID of the Data Catalog from which to retrieve Databases. - If none is provided, the AWS account ID is used by default + If none is provided, the AWS account ID is used by default. schema_evolution If ``True`` allows schema evolution for new columns or changes in column types. Columns missing from the DataFrame that are present in the Iceberg schema From 92d0dc779605c5075f89a44467d2a2713251eecb Mon Sep 17 00:00:00 2001 From: Arnau Villoro Date: Wed, 10 Dec 2025 09:37:03 +0100 Subject: [PATCH 3/3] Fix long line --- docs/source/install.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/install.rst b/docs/source/install.rst index 7b84ac2ff..cbcb4873c 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -252,7 +252,8 @@ Run this command in any Python 3 notebook cell and then make sure to **Platform compatibility notice:** -``awswrangler>=3.14.0`` defaults to PyArrow 21.0.0+, which requires CMake 3.25+ to build. On AL2-V3 notebook instances (CMake 2.8), you have the following options: +``awswrangler>=3.14.0`` defaults to PyArrow 21.0.0+, which requires CMake 3.25+ to build. +On AL2-V3 notebook instances (CMake 2.8), you have the following options: * Pin PyArrow to an older version: