We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca3e95f commit 0ecf487Copy full SHA for 0ecf487
dlt/destinations/impl/athena/athena.py
@@ -367,7 +367,7 @@ def _get_table_update_sql(
367
if is_iceberg:
368
sql.append(f"""CREATE TABLE {qualified_table_name}
369
({columns})
370
- LOCATION '{location}'
+ LOCATION '{location.rstrip('/')}'
371
TBLPROPERTIES ('table_type'='ICEBERG', 'format'='parquet');""")
372
elif table_format == "jsonl":
373
sql.append(f"""CREATE EXTERNAL TABLE {qualified_table_name}
0 commit comments