Skip to content

Commit a7756b6

Browse files
authored
fix: add PyArrow fixed_size_binary dtype support (#2775)
1 parent b1f5792 commit a7756b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awswrangler/_data_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def pyarrow2athena( # noqa: PLR0911,PLR0912
4646
return "timestamp"
4747
if pa.types.is_date(dtype):
4848
return "date"
49-
if pa.types.is_binary(dtype):
49+
if pa.types.is_binary(dtype) or pa.types.is_fixed_size_binary(dtype):
5050
return "binary"
5151
if pa.types.is_dictionary(dtype):
5252
return pyarrow2athena(dtype=dtype.value_type, ignore_null=ignore_null)

0 commit comments

Comments
 (0)