Skip to content

Commit dd440a8

Browse files
committed
build: Check existence of arrow-glib-parquet library
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 1d4c4dc commit dd440a8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,6 +1232,14 @@ else()
12321232
set(FLB_ARROW OFF)
12331233
endif()
12341234

1235+
# Additional prerequisites for Apache Parquet
1236+
pkg_check_modules(ARROW_GLIB_PARQUET QUIET arrow-glib-parquet)
1237+
if(FLB_ARROW AND ARROW_GLIB_PARQUET_FOUND)
1238+
FLB_DEFINITION(FLB_HAVE_ARROW_PARQUET)
1239+
else()
1240+
message(STATUS "Arrow GLib Parquet not found. Disabling parquet compression for AWS module")
1241+
endif()
1242+
12351243
# EBPF Support
12361244
# ============
12371245
if (FLB_IN_EBPF)

0 commit comments

Comments
 (0)