llama90 opened a new issue, #40023:
URL: https://github.com/apache/arrow/issues/40023

   ### Describe the enhancement requested
   
   This is a sub-issue of the issue mentioned below.
   
   - #39182 
   
   To resolve the main issue, we need to replace it with `Cast` or remove the 
legacy `CastTo` from Cython.
   
   To solve the main issue better, this should come before the main issue.
   
   - 
https://github.com/apache/arrow/blob/0ce54b6a2ad7ee5dc48dc31eae4f10cb4cd2915d/python/pyarrow/includes/libarrow.pxd#L1155
   - 
https://github.com/apache/arrow/blob/0ce54b6a2ad7ee5dc48dc31eae4f10cb4cd2915d/python/pyarrow/tests/pyarrow_cython_example.pyx#L53
   
   <details><summary>error message in the python workflow</summary>
   
   ```bash
   ----------------------------- Captured stderr call 
-----------------------------
   pyarrow_cython_example.cpp:8782:46: error: no member named 'CastTo' in 
'arrow::Scalar'
     __pyx_v_c_result = __pyx_v_c_scalar.get()->CastTo(__pyx_v_c_type);
                        ~~~~~~~~~~~~~~~~~~~~~~  ^
   1 error generated.
   error: command '/usr/bin/clang' failed with exit code 1
   ```
   
   </details>
   
   ### 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]

Reply via email to