AlenkaF commented on code in PR #49845:
URL: https://github.com/apache/arrow/pull/49845#discussion_r3987886840


##########
python/pyarrow/scalar.pxi:
##########
@@ -21,6 +21,25 @@ from uuid import UUID
 from collections.abc import Sequence, Mapping
 
 
+def _is_valid_compute_operand(value):

Review Comment:
   I looked into the kernel tests in C++ to check for any possible 
`ArrowTypeError`'s that could get swallowed and found none for the kernels in 
question. I will revert the helper to the initial, simler version, and will add 
a note that it should not be used with compute functions that can throw 
`ArrowTypeError` (like `cast` for example).



-- 
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