llama90 commented on code in PR #40761:
URL: https://github.com/apache/arrow/pull/40761#discussion_r1591109342


##########
python/pyarrow/includes/libarrow.pxd:
##########
@@ -3026,3 +3023,34 @@ cdef extern from "arrow/python/udf.h" namespace 
"arrow::py" nogil:
 
 cdef extern from "arrow/compute/cast.h" namespace "arrow::compute":
     CResult[CDatum] Cast(const CDatum& value, const CCastOptions& options)
+
+cdef extern from "arrow/type_traits.h" namespace "arrow":
+    c_bool c_is_integer "is_integer"(Type type_id)

Review Comment:
   @AlenkaF Thank you for your review and advice.
   
   Inspired by your suggestions, I further explored the code and made some 
modifications.
   
   Could this be what @pitrou intended?



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