rok commented on code in PR #48727:
URL: https://github.com/apache/arrow/pull/48727#discussion_r2717170822


##########
python/pyarrow/src/arrow/python/python_to_arrow.cc:
##########
@@ -512,7 +513,12 @@ class PyValue {
 
   static Status Convert(const FixedSizeBinaryType* type, const O&, I obj,
                         PyBytesView& view) {
-    ARROW_RETURN_NOT_OK(view.ParseString(obj));
+    // Check if obj is a uuid.UUID instance
+    if (type->byte_width() == 16 && internal::IsPyUuid(obj)) {

Review Comment:
   I hope this doesn't have performance implications :).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to