Skip to content

Commit eb25d2a

Browse files
committed
Updated stringdocs
1 parent 7685bc1 commit eb25d2a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

awswrangler/athena/_write_iceberg.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ def _merge_iceberg(
338338
Custom ON clause for the MERGE statement. If specified, this string will be used as the ON condition
339339
between the target and source tables, allowing for complex join logic beyond simple equality on columns.
340340
Cannot be used together with ``merge_cols``.
341+
It must produce at most one match per target row. Using OR conditions may result in merge failures.
341342
merge_condition: str, optional
342343
The condition to be used in the MERGE INTO statement. Valid values: ['update', 'ignore', 'conditional_merge'].
343344
- 'update': Update matched rows and insert non-matched rows.
@@ -491,9 +492,9 @@ def to_iceberg( # noqa: PLR0913
491492
glue_table_settings: GlueTableSettings | None = None,
492493
) -> None:
493494
"""
494-
Insert into Athena Iceberg table using INSERT INTO ... SELECT. Will create Iceberg table if it does not exist.
495+
Write a Pandas DataFrame to an Athena Iceberg table, supporting table creation, schema evolution, and advanced merge operations.
495496
496-
Creates temporary external table, writes staged files and inserts via INSERT INTO ... SELECT.
497+
This function inserts data into an Athena Iceberg table, creating the table if it does not exist. It supports multiple write modes (append, overwrite, overwrite_partitions), schema evolution, and conditional merge logic using Athena's MERGE INTO statement. Advanced options allow for custom merge conditions, partitioning, and table properties.
497498
498499
Parameters
499500
----------
@@ -524,6 +525,7 @@ def to_iceberg( # noqa: PLR0913
524525
Custom ON clause for the MERGE statement. If specified, this string will be used as the ON condition
525526
between the target and source tables, allowing for complex join logic beyond simple equality on columns.
526527
Cannot be used together with ``merge_cols``.
528+
It must produce at most one match per target row. Using OR conditions may result in merge failures.
527529
merge_condition
528530
The condition to be used in the MERGE INTO statement. Valid values: ['update', 'ignore', 'conditional_merge'].
529531
merge_conditional_clauses

0 commit comments

Comments
 (0)