Closed matthewfeickert closed 3 years ago
Thanks for spotting this @matthewfeickert ! With these changes I think the issue is resolved.
Can you give it a try again when you have a moment?
With these changes I think the issue is resolved.
Can you give it a try again when you have a moment?
Yup! Things are good to go now:
$ docker build . -f Dockerfile --build-arg COMMIT=7de3f886ffdb0422c2d36fb1264a7a0f500ae61b -t parquet-writer:test
...
Arrow_DIR:PATH=/usr/lib/x86_64-linux-gnu/cmake/arrow
BROTLI_COMMON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libbrotlicommon.so
BROTLI_DEC_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libbrotlidec.so
BROTLI_ENC_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libbrotlienc.so
CMAKE_BUILD_TYPE:STRING=
CMAKE_INSTALL_PREFIX:PATH=/usr/local
GRPC_CPP_PLUGIN:FILEPATH=/usr/bin/grpc_cpp_plugin
LZ4_LIB:FILEPATH=/usr/lib/x86_64-linux-gnu/liblz4.so
PARQUET_static_lib:FILEPATH=/usr/lib/x86_64-linux-gnu/libparquet.a
Parquet_DIR:PATH=Parquet_DIR-NOTFOUND
RE2_LIB:FILEPATH=/usr/lib/x86_64-linux-gnu/libre2.so
Snappy_INCLUDE_DIR:PATH=/usr/include
Snappy_LIB:FILEPATH=/usr/lib/x86_64-linux-gnu/libsnappy.so
ZSTD_LIB:FILEPATH=/usr/lib/x86_64-linux-gnu/libzstd.so
gRPC_DIR:PATH=gRPC_DIR-NOTFOUND
re2_DIR:PATH=re2_DIR-NOTFOUND
utf8proc_INCLUDE_DIR:PATH=/usr/include
utf8proc_LIB:FILEPATH=/usr/lib/x86_64-linux-gnu/libutf8proc.so
Scanning dependencies of target parquet-writer
[ 22%] Building CXX object src/cpp/CMakeFiles/parquet-writer.dir/parquet_writer.cpp.o
[ 22%] Building CXX object src/cpp/CMakeFiles/parquet-writer.dir/parquet_helpers.cpp.o
[ 33%] Linking CXX shared library ../../lib/libparquet-writer.so
[ 33%] Built target parquet-writer
Scanning dependencies of target basic-example
Scanning dependencies of target test-writer
Scanning dependencies of target struct-example
[ 66%] Building CXX object examples/cpp/CMakeFiles/basic-example.dir/basic_example.cpp.o
[ 66%] Building CXX object examples/cpp/CMakeFiles/struct-example.dir/struct_example.cpp.o
[ 66%] Building CXX object src/cpp/tools/CMakeFiles/test-writer.dir/test_writer.cpp.o
[ 77%] Linking CXX executable ../../bin/struct-example
[ 77%] Built target struct-example
[ 88%] Linking CXX executable ../../../bin/test-writer
[ 88%] Built target test-writer
[100%] Linking CXX executable ../../bin/basic-example
[100%] Built target basic-example
Removing intermediate container 106997756b40
---> d70268fa6c87
Successfully built d70268fa6c87
Successfully tagged parquet-writer:test
:rocket:
Thanks @dantrim!
Thanks for making this cool looking library @dantrim. I'm looking forward to playing with it more, but I think I've hit a build failure following the instructions in the README on Debian bullseye
Minimal failing example
With the following
Dockerfile
building will fail with the following error pointing to
cmake/FindArrow.cmake
https://github.com/dantrim/parquet-writer/blob/b51b5169b93ae0537d694a95c6c46a2e7d8eb590/cmake/FindArrow.cmake#L32
I'm probably missing something incredibly obvious, but if you can point it out that would be super helpful.