Skip to content

Commit

Permalink
fix: indent categories correctly in pyarrow_additional_kwargs (#2701)
Browse files Browse the repository at this point in the history
Co-authored-by: Leon Luttenberger <[email protected]>
  • Loading branch information
jaidisido and LeonLuttenberger authored Mar 5, 2024
1 parent 5b20362 commit 77f2dc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions awswrangler/athena/_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ def _fetch_parquet_result(
return df
if not pyarrow_additional_kwargs:
pyarrow_additional_kwargs = {}
if categories:
pyarrow_additional_kwargs["categories"] = categories
if categories:
pyarrow_additional_kwargs["categories"] = categories
_logger.debug("Reading Parquet result from %d paths", len(paths))
ret = s3.read_parquet(
path=paths,
Expand Down

0 comments on commit 77f2dc2

Please sign in to comment.