Skip to content

[Python] Remove Scalar legacy cast from Cython test #40023

@llama90

Description

@llama90

Describe the enhancement requested

This is a sub-issue of the issue mentioned below.

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.

error message in the python workflow
----------------------------- 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

Component(s)

Python

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions