Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ endif()

# Top level cmake dir
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
option(ARROW_WITH_PARQUET
option(ARROW_PARQUET
"Build the Parquet adapter and link to libparquet"
OFF)

Expand Down Expand Up @@ -441,7 +441,7 @@ endif (UNIX)
#----------------------------------------------------------------------
# Parquet adapter

if(ARROW_WITH_PARQUET)
if(ARROW_PARQUET)
find_package(Parquet REQUIRED)
include_directories(SYSTEM ${PARQUET_INCLUDE_DIR})
ADD_THIRDPARTY_LIB(parquet
Expand Down
24 changes: 24 additions & 0 deletions cpp/doc/Parquet.md
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