Skip to content

[C++][ORC] Failed to build ORC adapter test with ORC 1.9.0 #36405

Closed

Description

@kou

Describe the enhancement requested

https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/47432784

[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

  1. kou commented on Jun 30, 2023

    @kou
    MemberAuthor

    @wgtmac Could you take a look at this?

  2. wgtmac commented on Jun 30, 2023

    @wgtmac
    Member

    Sure, let me check. @kou

  3. wgtmac commented on Jun 30, 2023

    @wgtmac
    Member

    QQ: I haven't updated ORC to use 1.9.0 (still on 1.8.3). Why does the build use a newer version?

  4. self-assigned this
    on Jun 30, 2023
  5. kou commented on Jun 30, 2023

    @kou
    MemberAuthor
  6. added a commit that references this issue on Jun 30, 2023
  7. added a commit that references this issue on Jun 30, 2023
  8. added this to the 13.0.0 milestone on Jun 30, 2023
  9. added a commit that references this issue on Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions