Hi Experts,
I am trying to use the Apache Arrow ORC interface. I have created
an arrow::Table and want to write an ORC file for it.
I have tried to use the following link from documentation as reference.
https://arrow.apache.org/docs/cpp/orc.html
I am able to compile my code. I am facing a problem with C++ linking.
It is generating undefined reference for Apache Arrow ORC functions.
Undefined reference *arrow::adapters::orc::ORCFileWriter::Open *
Undefined reference *arrow::adapters::orc::ORCFileWriter::Write*
I have tried to browse apache source code and found code exists for these
functions inside these files.
apache/cpp/src/arrow/adapters/orc/...
I have tried to compile Apache Arrow by enabling ORC support
(-DARROW_ORC=ON , -DARROW_WITH_ORC=ON).
It is able to generate "liborc.a" library. I have tried to manually link
liborc.a. It does not work.
Please help with the following questions.
a. Apache Documentation mentions the "apache-orc" library. I do not see
this library in apache arrow standard installation or manually compiling
apache arrow source code.
b. Is there any working example considering ORC compiling and linking
inside C++.
Thanks & Regards
Sunil