This is an automated email from the ASF dual-hosted git repository.
jorisvandenbossche pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
from 5fb02bdb13 ARROW-17944: [Python] substrait.run_query accept
bytes/Buffer and not segfault (#14331)
add 06c99f7ae1 ARROW-15545: [Python][C++] Support casting to extension
type (#14106)
No new revisions were added by this update.
Summary of changes:
cpp/src/arrow/CMakeLists.txt | 1 +
cpp/src/arrow/compute/cast.cc | 1 +
cpp/src/arrow/compute/cast_internal.h | 1 +
.../arrow/compute/kernels/scalar_cast_extension.cc | 74 +++++++++++++++
cpp/src/arrow/compute/kernels/scalar_cast_test.cc | 72 +++++++++++++-
cpp/src/arrow/testing/extension_type.h | 28 ++++++
cpp/src/arrow/testing/gtest_util.cc | 70 ++++++--------
cpp/src/arrow/testing/gtest_util.h | 3 -
cpp/src/arrow/type.cc | 41 ++++++++
cpp/src/arrow/type_fwd.h | 3 +
docs/source/cpp/compute.rst | 5 +
python/pyarrow/tests/test_extension_type.py | 103 ++++++++++++++++++++-
12 files changed, 352 insertions(+), 50 deletions(-)
create mode 100644 cpp/src/arrow/compute/kernels/scalar_cast_extension.cc