Skip to content

Commit

Permalink
fix: Duplicate schema argument in wr.s3.to_parquet()
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Kukushkin <[email protected]>
  • Loading branch information
kukushking committed Sep 8, 2023
1 parent 146b443 commit 8de843f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions awswrangler/s3/_write_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ def _new_writer(
pyarrow_additional_kwargs["use_dictionary"] = True
if not pyarrow_additional_kwargs.get("write_statistics"):
pyarrow_additional_kwargs["write_statistics"] = True
if schema:
pyarrow_additional_kwargs["schema"] = schema

with open_s3_object(
path=file_path,
Expand Down

0 comments on commit 8de843f

Please sign in to comment.