File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
src/aws/compression/arrow Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1232,6 +1232,14 @@ else()
1232
1232
set (FLB_ARROW OFF )
1233
1233
endif ()
1234
1234
1235
+ # Additional prerequisites for Apache Parquet
1236
+ pkg_check_modules (ARROW_GLIB_PARQUET QUIET parquet-glib )
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
+
1235
1243
# EBPF Support
1236
1244
# ============
1237
1245
if (FLB_IN_EBPF )
Original file line number Diff line number Diff line change @@ -5,3 +5,7 @@ add_library(flb-aws-arrow STATIC ${src})
5
5
6
6
target_include_directories (flb-aws-arrow PRIVATE ${ARROW_GLIB_INCLUDE_DIRS} )
7
7
target_link_libraries (flb-aws-arrow ${ARROW_GLIB_LDFLAGS} )
8
+ if (ARROW_GLIB_PARQUET_FOUND )
9
+ target_include_directories (flb-aws-arrow PRIVATE ${ARROW_GLIB_PARQUET_INCLUDE_DIRS} )
10
+ target_link_libraries (flb-aws-arrow ${ARROW_GLIB_PARQUET_LDFLAGS} )
11
+ endif ()
You can’t perform that action at this time.
0 commit comments