kou commented on PR #45663:
URL: https://github.com/apache/arrow/pull/45663#issuecomment-2709048999

   OK.
   
   
https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/51658917#L1627
   
   ```text
   FAILED: src/arrow/CMakeFiles/arrow-table-test.dir/Unity/unity_0_cxx.cxx.obj 
   C:\Mambaforge\envs\arrow\Library\bin\ccache.exe 
C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe
  /nologo /TP -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 
-DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 
-DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DPROTOBUF_USE_DLLS -DUSE_IMPORT_EXPORT 
-D_CRT_SECURE_NO_WARNINGS -IC:\projects\arrow\cpp\build\src 
-IC:\projects\arrow\cpp\src -IC:\projects\arrow\cpp\src\generated 
-external:IC:\projects\arrow\cpp\thirdparty\flatbuffers\include 
-external:IC:\Mambaforge\envs\arrow\Library\include -external:W0 /DWIN32 
/D_WINDOWS /EHsc /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING  /EHsc /wd5105 
/bigobj /utf-8 /W3 /wd4800 /wd4996 /wd4065  /WX /MP /MD /Od /UNDEBUG -std:c++17 
-MD /showIncludes 
/Fosrc\arrow\CMakeFiles\arrow-table-test.dir\Unity\unity_0_cxx.cxx.obj 
/Fdsrc\arrow\CMakeFiles\arrow-table-test.dir\ /FS -c 
C:\projects\arrow\cpp\build\src\arrow\CMakeFiles\arrow-table-test.dir\Unity\unity_0_cx
 x.cxx
   C:/projects/arrow/cpp/src/arrow/record_batch_test.cc(1477): error C2679: 
binary '=': no operator found which takes a right-hand operand of type 'int' 
(or there is no acceptable conversion)
   C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\optional(442): note: 
could be 'std::optional<arrow::ArrayStatistics::ValueType> 
&std::optional<arrow::ArrayStatistics::ValueType>::operator 
=(std::optional<arrow::ArrayStatistics::ValueType> &&)'
   C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\optional(442): note: or 
      'std::optional<arrow::ArrayStatistics::ValueType> 
&std::optional<arrow::ArrayStatistics::ValueType>::operator =(const 
std::optional<arrow::ArrayStatistics::ValueType> &)'
   C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\optional(255): note: or 
      'std::optional<arrow::ArrayStatistics::ValueType> 
&std::optional<arrow::ArrayStatistics::ValueType>::operator =(std::nullopt_t) 
noexcept'
   C:/projects/arrow/cpp/src/arrow/record_batch_test.cc(1477): note: while 
trying to match the argument list 
'(std::optional<arrow::ArrayStatistics::ValueType>, int)'
   C:/projects/arrow/cpp/src/arrow/record_batch_test.cc(1482): error C2679: 
binary '=': no operator found which takes a right-hand operand of type 'int' 
(or there is no acceptable conversion)
   C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\optional(442): note: 
could be 'std::optional<arrow::ArrayStatistics::ValueType> 
&std::optional<arrow::ArrayStatistics::ValueType>::operator 
=(std::optional<arrow::ArrayStatistics::ValueType> &&)'
   C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\optional(442): note: or 
      'std::optional<arrow::ArrayStatistics::ValueType> 
&std::optional<arrow::ArrayStatistics::ValueType>::operator =(const 
std::optional<arrow::ArrayStatistics::ValueType> &)'
   C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\optional(255): note: or 
      'std::optional<arrow::ArrayStatistics::ValueType> 
&std::optional<arrow::ArrayStatistics::ValueType>::operator =(std::nullopt_t) 
noexcept'
   C:/projects/arrow/cpp/src/arrow/record_batch_test.cc(1482): note: while 
trying to match the argument list 
'(std::optional<arrow::ArrayStatistics::ValueType>, int)'
   C:/projects/arrow/cpp/src/arrow/record_batch_test.cc(1486): error C2679: 
binary '=': no operator found which takes a right-hand operand of type 'int' 
(or there is no acceptable conversion)
   C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\optional(442): note: 
could be 'std::optional<arrow::ArrayStatistics::ValueType> 
&std::optional<arrow::ArrayStatistics::ValueType>::operator 
=(std::optional<arrow::ArrayStatistics::ValueType> &&)'
   C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\optional(442): note: or 
      'std::optional<arrow::ArrayStatistics::ValueType> 
&std::optional<arrow::ArrayStatistics::ValueType>::operator =(const 
std::optional<arrow::ArrayStatistics::ValueType> &)'
   C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\optional(255): note: or 
      'std::optional<arrow::ArrayStatistics::ValueType> 
&std::optional<arrow::ArrayStatistics::ValueType>::operator =(std::nullopt_t) 
noexcept'
   C:/projects/arrow/cpp/src/arrow/record_batch_test.cc(1486): note: while 
trying to match the argument list 
'(std::optional<arrow::ArrayStatistics::ValueType>, int)'
   C:/projects/arrow/cpp/src/arrow/record_batch_test.cc(1544): error C2664: 
'arrow::Result<std::shared_ptr<arrow::Array>> 
arrow::`anonymous-namespace'::MakeStatisticsArray(const std::string &,const 
std::vector<std::vector<std::string,std::allocator<std::string>>,std::allocator<std::vector<std::string,std::allocator<std::string>>>>
 &,const 
std::vector<std::vector<arrow::ArrayStatistics::ValueType,std::allocator<arrow::ArrayStatistics::ValueType>>,std::allocator<std::vector<arrow::ArrayStatistics::ValueType,std::allocator<arrow::ArrayStatistics::ValueType>>>>
 &)': cannot convert argument 3 from 'initializer list' to 'const 
std::vector<std::vector<arrow::ArrayStatistics::ValueType,std::allocator<arrow::ArrayStatistics::ValueType>>,std::allocator<std::vector<arrow::ArrayStatistics::ValueType,std::allocator<arrow::ArrayStatistics::ValueType>>>>
 &'
   C:/projects/arrow/cpp/src/arrow/record_batch_test.cc(1548): note: Reason: 
cannot convert from 'initializer list' to 'const 
std::vector<std::vector<arrow::ArrayStatistics::ValueType,std::allocator<arrow::ArrayStatistics::ValueType>>,std::allocator<std::vector<arrow::ArrayStatistics::ValueType,std::allocator<arrow::ArrayStatistics::ValueType>>>>'
   C:/projects/arrow/cpp/src/arrow/record_batch_test.cc(1548): note: No 
constructor could take the source type, or constructor overload resolution was 
ambiguous
   C:/projects/arrow/cpp/src/arrow/record_batch_test.cc(1097): note: see 
declaration of 'arrow::`anonymous-namespace'::MakeStatisticsArray'
   C:/projects/arrow/cpp/src/arrow/record_batch_test.cc(1544): error C2530: 
'_error_or_value116': references must be initialized
   C:/projects/arrow/cpp/src/arrow/record_batch_test.cc(1549): error C3536: 
'expected_array': cannot be used before it is initialized
   C:/projects/arrow/cpp/src/arrow/record_batch_test.cc(1549): error C2100: 
illegal indirection
   [168/421] Building CXX object 
src\arrow\CMakeFiles\arrow-stl-test.dir\Unity\unity_0_cxx.cxx.obj
   ninja: build stopped: subcommand failed.
   ```


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