Skip to content

Commit

Permalink
fix(datatypes): convert UUIDs to strings (#8262)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored Feb 7, 2024
1 parent 03acbd1 commit 6f32374
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ibis/formats/pyarrow.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def __arrow_ext_scalar_class__(self):
dt.Unknown: pa.string(),
dt.MACADDR: pa.string(),
dt.INET: pa.string(),
dt.UUID: pa.string(),
}


Expand Down
1 change: 1 addition & 0 deletions ibis/formats/tests/test_pyarrow.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def test_dtype_from_nullable_list_type(value_nullable, list_nullable):
dt.Set(dt.String(nullable=False)),
pa.list_(pa.field("item", pa.string(), nullable=False)),
),
(dt.uuid, pa.string()),
],
)
def test_ibis_exclusive_types(ibis_type, arrow_type):
Expand Down

0 comments on commit 6f32374

Please sign in to comment.