Skip to content

Commit 77f2dc2

Browse files
fix: indent categories correctly in pyarrow_additional_kwargs (#2701)
Co-authored-by: Leon Luttenberger <[email protected]>
1 parent 5b20362 commit 77f2dc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

awswrangler/athena/_read.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ def _fetch_parquet_result(
149149
return df
150150
if not pyarrow_additional_kwargs:
151151
pyarrow_additional_kwargs = {}
152-
if categories:
153-
pyarrow_additional_kwargs["categories"] = categories
152+
if categories:
153+
pyarrow_additional_kwargs["categories"] = categories
154154
_logger.debug("Reading Parquet result from %d paths", len(paths))
155155
ret = s3.read_parquet(
156156
path=paths,

0 commit comments

Comments
 (0)