Skip to content

Commit

Permalink
Fix schema conversion of FixedSizeBinaryArray
Browse files Browse the repository at this point in the history
  • Loading branch information
balbok0 authored Dec 31, 2023
1 parent 74f9d33 commit 14b53bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/deltalake/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ def dtype_to_delta_dtype(dtype: pa.DataType) -> pa.DataType:
return pa.timestamp(
"us"
) # TODO(ion): propagate also timezone information during writeonce we can properly read TZ in delta schema
elif isinstance(dtype, pa.FixedSizeBinaryType):
return pa.binary()
try:
return dtype_map[dtype]
except KeyError:
Expand Down

0 comments on commit 14b53bc

Please sign in to comment.