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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   
https://github.com/ursacomputing/crossbow/actions/runs/16013289956/job/45175194787#step:6:2626
   
   ```text
   FAILED: 
src/arrow/compute/kernels/CMakeFiles/arrow-compute-scalar-type-test.dir/scalar_string_test.cc.o
 
   /usr/local/bin/sccache /usr/lib/ccache/c++ -DARROW_HAVE_RUNTIME_AVX2 
-DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 
-DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_WITH_TIMING_TESTS 
-I/build/cpp/src -I/arrow/cpp/src -I/arrow/cpp/src/generated -isystem 
/arrow/cpp/thirdparty/flatbuffers/include -Wredundant-move -Wno-noexcept-type  
-fdiagnostics-color=always  -Wall -Wno-conversion -Wno-sign-conversion 
-Wdate-time -Wimplicit-fallthrough -Wunused-result -fno-semantic-interposition 
-msse4.2  -g -Werror -O0 -ggdb -g1 -fPIE -DGTEST_HAS_PTHREAD=1 -std=c++20 -MD 
-MT 
src/arrow/compute/kernels/CMakeFiles/arrow-compute-scalar-type-test.dir/scalar_string_test.cc.o
 -MF 
src/arrow/compute/kernels/CMakeFiles/arrow-compute-scalar-type-test.dir/scalar_string_test.cc.o.d
 -o 
src/arrow/compute/kernels/CMakeFiles/arrow-compute-scalar-type-test.dir/scalar_string_test.cc.o
 -c /arrow/cpp/src/arrow/compute/kernels/scalar_string_test.cc
   /arrow/cpp/src/arrow/compute/kernels/scalar_string_test.cc: In instantiation 
of 'void 
arrow::compute::TestStringKernels_UTF8ZeroFill_Test<gtest_TypeParam_>::TestBody()
 [with gtest_TypeParam_ = arrow::StringType]':
   /arrow/cpp/src/arrow/compute/kernels/scalar_string_test.cc:2249:1:   
required from here
   /arrow/cpp/src/arrow/compute/kernels/scalar_string_test.cc:2274:13: error: 
no matching function for call to 
'arrow::compute::ZeroFillOptions::ZeroFillOptions(<brace-enclosed initializer 
list>)'
    2274 |   options = ZeroFillOptions{/*width=*/5, u8"💠"};
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from 
/arrow/cpp/src/arrow/compute/kernels/scalar_string_test.cc:26:
   /arrow/cpp/src/arrow/compute/api_scalar.h:389:3: note: candidate: 
'arrow::compute::ZeroFillOptions::ZeroFillOptions()'
     389 |   ZeroFillOptions();
         |   ^~~~~~~~~~~~~~~
   /arrow/cpp/src/arrow/compute/api_scalar.h:389:3: note:   candidate expects 0 
arguments, 2 provided
   /arrow/cpp/src/arrow/compute/api_scalar.h:388:12: note: candidate: 
'arrow::compute::ZeroFillOptions::ZeroFillOptions(int64_t, std::string)'
     388 |   explicit ZeroFillOptions(int64_t width, std::string padding = "0");
         |            ^~~~~~~~~~~~~~~
   /arrow/cpp/src/arrow/compute/api_scalar.h:388:55: note:   no known 
conversion for argument 2 from 'const char8_t [5]' to 'std::string' {aka 
'std::__cxx11::basic_string<char>'}
     388 |   explicit ZeroFillOptions(int64_t width, std::string padding = "0");
         |                                           ~~~~~~~~~~~~^~~~~~~~~~~~~
   /arrow/cpp/src/arrow/compute/api_scalar.h:386:20: note: candidate: 
'arrow::compute::ZeroFillOptions::ZeroFillOptions(const 
arrow::compute::ZeroFillOptions&)'
     386 | class ARROW_EXPORT ZeroFillOptions : public FunctionOptions {
         |                    ^~~~~~~~~~~~~~~
   /arrow/cpp/src/arrow/compute/api_scalar.h:386:20: note:   candidate expects 
1 argument, 2 provided
   /arrow/cpp/src/arrow/compute/api_scalar.h:386:20: note: candidate: 
'arrow::compute::ZeroFillOptions::ZeroFillOptions(arrow::compute::ZeroFillOptions&&)'
   /arrow/cpp/src/arrow/compute/api_scalar.h:386:20: note:   candidate expects 
1 argument, 2 provided
   /arrow/cpp/src/arrow/compute/kernels/scalar_string_test.cc: In instantiation 
of 'void 
arrow::compute::TestStringKernels_UTF8ZeroFill_Test<gtest_TypeParam_>::TestBody()
 [with gtest_TypeParam_ = arrow::LargeStringType]':
   /arrow/cpp/src/arrow/compute/kernels/scalar_string_test.cc:2249:1:   
required from here
   /arrow/cpp/src/arrow/compute/kernels/scalar_string_test.cc:2274:13: error: 
no matching function for call to 
'arrow::compute::ZeroFillOptions::ZeroFillOptions(<brace-enclosed initializer 
list>)'
    2274 |   options = ZeroFillOptions{/*width=*/5, u8"💠"};
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from 
/arrow/cpp/src/arrow/compute/kernels/scalar_string_test.cc:26:
   /arrow/cpp/src/arrow/compute/api_scalar.h:389:3: note: candidate: 
'arrow::compute::ZeroFillOptions::ZeroFillOptions()'
     389 |   ZeroFillOptions();
         |   ^~~~~~~~~~~~~~~
   /arrow/cpp/src/arrow/compute/api_scalar.h:389:3: note:   candidate expects 0 
arguments, 2 provided
   /arrow/cpp/src/arrow/compute/api_scalar.h:388:12: note: candidate: 
'arrow::compute::ZeroFillOptions::ZeroFillOptions(int64_t, std::string)'
     388 |   explicit ZeroFillOptions(int64_t width, std::string padding = "0");
         |            ^~~~~~~~~~~~~~~
   /arrow/cpp/src/arrow/compute/api_scalar.h:388:55: note:   no known 
conversion for argument 2 from 'const char8_t [5]' to 'std::string' {aka 
'std::__cxx11::basic_string<char>'}
     388 |   explicit ZeroFillOptions(int64_t width, std::string padding = "0");
         |                                           ~~~~~~~~~~~~^~~~~~~~~~~~~
   /arrow/cpp/src/arrow/compute/api_scalar.h:386:20: note: candidate: 
'arrow::compute::ZeroFillOptions::ZeroFillOptions(const 
arrow::compute::ZeroFillOptions&)'
     386 | class ARROW_EXPORT ZeroFillOptions : public FunctionOptions {
         |                    ^~~~~~~~~~~~~~~
   /arrow/cpp/src/arrow/compute/api_scalar.h:386:20: note:   candidate expects 
1 argument, 2 provided
   /arrow/cpp/src/arrow/compute/api_scalar.h:386:20: note: candidate: 
'arrow::compute::ZeroFillOptions::ZeroFillOptions(arrow::compute::ZeroFillOptions&&)'
   /arrow/cpp/src/arrow/compute/api_scalar.h:386:20: note:   candidate expects 
1 argument, 2 provided
   ```
   
   #46815 may be related.
   
   ### Component(s)
   
   C++, Continuous Integration


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to