Skip to content

Commit

Permalink
fix: indent categories correctly in pyarrow_additional_kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
jaidisido committed Mar 4, 2024
1 parent 4816e5e commit 89ba63d
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 89ba63d

Please sign in to comment.