Repository navigation
Closed
Description
Describe the enhancement requested
[258/420] Building CXX object src\arrow\adapters\orc\CMakeFiles\arrow-orc-adapter-test.dir\adapter_test.cc.obj
FAILED: src/arrow/adapters/orc/CMakeFiles/arrow-orc-adapter-test.dir/adapter_test.cc.obj
C:\Miniconda38-x64\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 -DABSL_CONSUME_DLL -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_HDFS -DARROW_MIMALLOC -DARROW_S3_HAS_CRT -DARROW_WITH_BROTLI -DARROW_WITH_BZ2 -DARROW_WITH_LZ4 -DARROW_WITH_RE2 -DARROW_WITH_SNAPPY -DARROW_WITH_UTF8PROC -DARROW_WITH_ZLIB -DARROW_WITH_ZSTD -DAWS_AUTH_USE_IMPORT_EXPORT -DAWS_CAL_USE_IMPORT_EXPORT -DAWS_CHECKSUMS_USE_IMPORT_EXPORT -DAWS_COMMON_USE_IMPORT_EXPORT -DAWS_COMPRESSION_USE_IMPORT_EXPORT -DAWS_CRT_CPP_USE_IMPORT_EXPORT -DAWS_EVENT_STREAM_USE_IMPORT_EXPORT -DAWS_HTTP_USE_IMPORT_EXPORT -DAWS_IO_USE_IMPORT_EXPORT -DAWS_MQTT_USE_IMPORT_EXPORT -DAWS_MQTT_WITH_WEBSOCKETS -DAWS_S3_USE_IMPORT_EXPORT -DAWS_SDKUTILS_USE_IMPORT_EXPORT -DAWS_SDK_VERSION_MAJOR=1 -DAWS_SDK_VERSION_MINOR=10 -DAWS_SDK_VERSION_PATCH=13 -DAWS_USE_IO_COMPLETION_PORTS -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DPROTOBUF_USE_DLLS -DURI_STATIC_BUILD -DUSE_IMPORT_EXPORT -DUSE_IMPORT_EXPORT=1 -DUSE_WINDOWS_DLL_SEMANTICS -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -IC:\projects\arrow\cpp\build\src -IC:\projects\arrow\cpp\src -IC:\projects\arrow\cpp\src\generated -external:IC:\Miniconda38-x64\envs\arrow\Library\include -external:IC:\projects\arrow\cpp\thirdparty\flatbuffers\include -external:IC:\projects\arrow\cpp\thirdparty\hadoop\include -external:IC:\OpenSSL-v30-Win64-temp\include -external:IC:\projects\arrow\cpp\build\mimalloc_ep\src\mimalloc_ep\include\mimalloc-2.0 -external:W0 /DWIN32 /D_WINDOWS /GR /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\adapters\orc\CMakeFiles\arrow-orc-adapter-test.dir\adapter_test.cc.obj /Fdsrc\arrow\adapters\orc\CMakeFiles\arrow-orc-adapter-test.dir\ /FS -c C:\projects\arrow\cpp\src\arrow\adapters\orc\adapter_test.cc
C:\projects\arrow\cpp\src\arrow\adapters\orc\adapter_test.cc(1044): error C2668: 'orc::Type::createRowBatch': ambiguous call to overloaded function
C:\Miniconda38-x64\envs\arrow\Library\include\orc/Type.hh(81): note: could be 'std::unique_ptr<orc::ColumnVectorBatch,std::default_delete<orc::ColumnVectorBatch>> orc::Type::createRowBatch(uint64_t,orc::MemoryPool &,bool,bool) const'
C:\Miniconda38-x64\envs\arrow\Library\include\orc/Type.hh(78): note: or 'std::unique_ptr<orc::ColumnVectorBatch,std::default_delete<orc::ColumnVectorBatch>> orc::Type::createRowBatch(uint64_t,orc::MemoryPool &,bool) const'
C:\projects\arrow\cpp\src\arrow\adapters\orc\adapter_test.cc(1044): note: while trying to match the argument list '(int64_t, orc::MemoryPool)'
C:\projects\arrow\cpp\src\arrow\adapters\orc\adapter_test.cc(1050): error C3536: 'orc_batch': cannot be used before it is initialized
C:\projects\arrow\cpp\src\arrow\adapters\orc\adapter_test.cc(1049): error C2660: 'arrow::adapters::orc::WriteBatch': function does not take 4 arguments
C:\projects\arrow\cpp\src\arrow/adapters/orc/util.h(59): note: see declaration of 'arrow::adapters::orc::WriteBatch'
C:\projects\arrow\cpp\src\arrow\adapters\orc\adapter_test.cc(1054): error C2660: 'arrow::adapters::orc::AppendBatch': function does not take 4 arguments
C:\projects\arrow\cpp\src\arrow/adapters/orc/util.h(46): note: see declaration of 'arrow::adapters::orc::AppendBatch'
[259/420] Building CXX object src\parquet\CMakeFiles\parquet_shared.dir\Unity\unity_5_cxx.cxx.obj
ninja: build stopped: subcommand failed.
Component(s)
C++
Activity
kou commentedon Jun 30, 2023
@wgtmac Could you take a look at this?
wgtmac commentedon Jun 30, 2023
Sure, let me check. @kou
wgtmac commentedon Jun 30, 2023
QQ: I haven't updated ORC to use 1.9.0 (still on 1.8.3). Why does the build use a newer version?
kou commentedon Jun 30, 2023
The AppVeyor build uses orc package provided by conda: https://anaconda.org/conda-forge/orc
apacheGH-36405: [C++][ORC] Upgrade ORC to 1.9.0
GH-36405: [C++][ORC] Upgrade ORC to 1.9.0 (#36406)
apacheGH-36405: [C++][ORC] Upgrade ORC to 1.9.0 (apache#36406)