From 2ce6d8d4818c55c4ef084cfcb5f0086a3b115c95 Mon Sep 17 00:00:00 2001 From: Abdel Jaidi Date: Thu, 2 May 2024 11:26:19 +0100 Subject: [PATCH] fix: add missing index in athena.to_iceberg to_parquet --- awswrangler/athena/_write_iceberg.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awswrangler/athena/_write_iceberg.py b/awswrangler/athena/_write_iceberg.py index 28eae686b..22fdf95c9 100644 --- a/awswrangler/athena/_write_iceberg.py +++ b/awswrangler/athena/_write_iceberg.py @@ -483,6 +483,7 @@ def to_iceberg( s3.to_parquet( df=df, path=temp_path or wg_config.s3_output, + index=index, dataset=True, database=database, table=temp_table,