This is an automated email from the ASF dual-hosted git repository.
yibocai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 80e8845610 ARROW-18149: [C++] fix build failure of `join_example`
(#14490)
80e8845610 is described below
commit 80e8845610a182edffb39a046ddbc65f7496257d
Author: Sho Nakatani <[email protected]>
AuthorDate: Wed Oct 26 13:42:19 2022 +0900
ARROW-18149: [C++] fix build failure of `join_example` (#14490)
see: https://issues.apache.org/jira/browse/ARROW-18149
Authored-by: Sho Nakatani <[email protected]>
Signed-off-by: Yibo Cai <[email protected]>
---
cpp/examples/arrow/CMakeLists.txt | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/cpp/examples/arrow/CMakeLists.txt
b/cpp/examples/arrow/CMakeLists.txt
index 38a8005fe3..18707aa37c 100644
--- a/cpp/examples/arrow/CMakeLists.txt
+++ b/cpp/examples/arrow/CMakeLists.txt
@@ -137,8 +137,10 @@ if(ARROW_PARQUET AND ARROW_DATASET)
${DATASET_EXAMPLES_LINK_LIBS})
add_dependencies(execution-plan-documentation-examples parquet)
- add_arrow_example(join_example EXTRA_LINK_LIBS ${DATASET_EXAMPLES_LINK_LIBS})
- add_dependencies(join-example parquet)
+ if(ARROW_CSV)
+ add_arrow_example(join_example EXTRA_LINK_LIBS
${DATASET_EXAMPLES_LINK_LIBS})
+ add_dependencies(join-example parquet)
+ endif()
add_arrow_example(udf_example)