-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Labels
Description
Describe the bug, including details regarding any error messages, version, and platform.
When building the R bindings with Parquet support disabled (ARROW_R_WITH_PARQUET not defined), compilation fails with errors about undeclared 'parquet' identifiers in arrowExports.cpp.
The issue occurs because Parquet-related code in dataset.cpp and arrowExports.cpp lacks proper preprocessor guards. Specifically:
-
In arrowExports.cpp (line ~1871), the function declaration for
dataset___ParquetFileWriteOptions__updateusesparquet::WriterPropertiesandparquet::ArrowWriterPropertiestypes without checking ifARROW_R_WITH_PARQUETis defined. -
In dataset.cpp, Parquet-related includes and function implementations are not guarded by
ARROW_R_WITH_PARQUETchecks.
Compilation error:
arrowExports.cpp:1871:131: error: use of undeclared identifier 'parquet'
Version: 23.0.0
Platform: Linux
Component(s)
R