-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-26: Add instructions for enabling Arrow C++ Parquet adapter build
This patch documents the workflow for building the optional Arrow-Parquet C++ integration. I originally thought about adding an option to build it in Arrow's thirdparty, but it immediately results in a dependency-hell situation (Parquet requires Thrift, Boost, snappy, lz4, zlib) Author: Wes McKinney <wesm@apache.org> Closes #12 from wesm/ARROW-26 and squashes the following commits: b28fd75 [Wes McKinney] Add instructions for enabling Arrow C++ Parquet adapter build
- Loading branch information
Showing
2 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## Building Arrow-Parquet integration | ||
|
||
To build the Arrow C++'s Parquet adapter library, you must first build [parquet-cpp][1]: | ||
|
||
```bash | ||
# Set this to your preferred install location | ||
export PARQUET_HOME=$HOME/local | ||
|
||
git clone https://github.com/apache/parquet-cpp.git | ||
cd parquet-cpp | ||
source setup_build_env.sh | ||
cmake -DCMAKE_INSTALL_PREFIX=$PARQUET_HOME | ||
make -j4 | ||
make install | ||
``` | ||
|
||
Make sure that `$PARQUET_HOME` is set to the installation location. Now, build | ||
Arrow with the Parquet adapter enabled: | ||
|
||
```bash | ||
cmake -DARROW_PARQUET=ON | ||
``` | ||
|
||
[1]: https://github.com/apache/parquet-cpp |