rohanjain101 opened a new issue, #48193:
URL: https://github.com/apache/arrow/issues/48193
### Describe the bug, including details regarding any error messages,
version, and platform.
```
>>> import pyarrow aspa
>>> import uuid
>>> z = pickle.dumps(pa.scalar(uuid.uuid4().bytes, type=pa.uuid()))
>>> pickle.loads(z)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pyarrow/scalar.pxi", line 1673, in pyarrow.lib.scalar
chunked = GetResultValue(ConvertPySequence(value, None, options, pool))
File "pyarrow/error.pxi", line 155, in
pyarrow.lib.pyarrow_internal_check_status
return check_status(status)
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowTypeError: Expected bytes, got a 'UUID' object
>>>
```
### Component(s)
Python
--
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]