You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "IsabelParedes (via GitHub)" <gi...@apache.org> on 2026/02/03 13:27:37 UTC
[I] [R] Compilation fails when Parquet support is disabled [arrow]
IsabelParedes opened a new issue, #49129:
URL: https://github.com/apache/arrow/issues/49129
### 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:
1. In arrowExports.cpp (line ~1871), the function declaration for `dataset___ParquetFileWriteOptions__update` uses `parquet::WriterProperties` and `parquet::ArrowWriterProperties` types without checking if `ARROW_R_WITH_PARQUET` is defined.
2. In dataset.cpp, Parquet-related includes and function implementations are not guarded by `ARROW_R_WITH_PARQUET` checks.
Compilation error:
```
arrowExports.cpp:1871:131: error: use of undeclared identifier 'parquet'
```
Version: 23.0.0
Platform: Linux
### Component(s)
R
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [R] Compilation fails when Parquet support is disabled [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic closed issue #49129: [R] Compilation fails when Parquet support is disabled
URL: https://github.com/apache/arrow/issues/49129
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [R] Compilation fails when Parquet support is disabled [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #49129:
URL: https://github.com/apache/arrow/issues/49129#issuecomment-5646243212
Closing this for now as associated PR has been closed and I don't think there's much user interest in this, but if anyone does, please feel free to comment here or open a new issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org