Skip to content

Commit fcf0ec5

Browse files
committed
Remove byte_width check
1 parent d4522cb commit fcf0ec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyarrow/src/arrow/python/python_to_arrow.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ class PyValue {
514514
static Status Convert(const FixedSizeBinaryType* type, const O&, I obj,
515515
PyBytesView& view) {
516516
// Check if obj is a uuid.UUID instance
517-
if (type->byte_width() == 16 && internal::IsPyUuid(obj)) {
517+
if (internal::IsPyUuid(obj)) {
518518
ARROW_RETURN_NOT_OK(view.ParseUuid(obj));
519519
} else {
520520
ARROW_RETURN_NOT_OK(view.ParseString(obj));

0 commit comments

Comments
 (0)