diff --git a/dlt/destinations/impl/athena/athena.py b/dlt/destinations/impl/athena/athena.py index 1beb249386..25152ec06f 100644 --- a/dlt/destinations/impl/athena/athena.py +++ b/dlt/destinations/impl/athena/athena.py @@ -367,7 +367,7 @@ def _get_table_update_sql( if is_iceberg: sql.append(f"""CREATE TABLE {qualified_table_name} ({columns}) - LOCATION '{location}' + LOCATION '{location.rstrip('/')}' TBLPROPERTIES ('table_type'='ICEBERG', 'format'='parquet');""") elif table_format == "jsonl": sql.append(f"""CREATE EXTERNAL TABLE {qualified_table_name}