[ 
https://issues.apache.org/jira/browse/ARROW-11994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17302994#comment-17302994
 ] 

Neal Richardson commented on ARROW-11994:
-----------------------------------------

Right, my recollection of that discussion was different from this though. We 
are able to build libarrow_dataset without libparquet, that's all fine. This is 
just in our cpp codegen, it can't handle that as currently written (and it's 
probably not worth trying to make it work). 

Your simple solution is probably fine (and not worth the trouble right now TBH, 
I'll just make both of them off in the solaris build).

> [R] Build fails if dataset enabled but parquet is not
> -----------------------------------------------------
>
>                 Key: ARROW-11994
>                 URL: https://issues.apache.org/jira/browse/ARROW-11994
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>            Reporter: Neal Richardson
>            Priority: Minor
>
> Following ARROW-11735; discovered while working on ARROW-10734. The 
> arrow::dataset::ParquetFileFormat and related classes require both dataset 
> and parquet. The {{#if defined}} logic in r/src/dataset.cpp is right and both 
> are required, but in the wrapping that is generated for arrowExports.cpp, we 
> only use the annotation on the functions, {{[[dataset::export]]}} to wrap. So 
> the ParquetFileFormat methods in arrowExports.cpp are if defined 
> ARROW_R_WITH_DATASET and fail if parquet is not available.
> Not a priority to fix (for Solaris I can turn off ARROW_DATASET and avoid 
> this), just wanted to note it in case we need to revisit this wrapping logic 
> later anyway. cc [~icook]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to