You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2021/02/23 16:23:00 UTC

[jira] [Commented] (ARROW-11736) [R] Allow string compute functions to be optional

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

Neal Richardson commented on ARROW-11736:
-----------------------------------------

The check for whether they are available could be to look for e.g. {{"utf8_tolower" %in% list_compute_functions()}} or something like that. If string support wasn't built, they won't be available as string functions.

> [R] Allow string compute functions to be optional
> -------------------------------------------------
>
>                 Key: ARROW-11736
>                 URL: https://issues.apache.org/jira/browse/ARROW-11736
>             Project: Apache Arrow
>          Issue Type: Sub-task
>          Components: R
>            Reporter: Neal Richardson
>            Priority: Major
>             Fix For: 4.0.0
>
>
> The Solaris build fails to build {{libarrow_bundled_dependencies.a}} because of some mismatch of arguments to the {{ar}} command: 
> {code}
> [ 19%] Bundling /export/home/XnknpBn/Rtemp/RtmpBOhxfH/file66df7a592ae4/release/libarrow_bundled_dependencies.a
> gmake[2]: Entering directory '/export/home/XnknpBn/Rtemp/RtmpBOhxfH/file66df7a592ae4'
> usage: ar -d[-SvV] archive file ...
>        ar -m[-abiSvV] [posname] archive file ...
>        ar -p[-vV][-sS] archive [file ...]
>        ar -q[-cuvSV] [-abi] [posname] [file ...]
>        ar -r[-cuvSV] [-abi] [posname] [file ...]
>        ar -t[-vV][-sS] archive [file ...]
>        ar -x[-vV][-sSCT] archive [file ...]
> gmake[2]: *** [src/arrow/CMakeFiles/arrow_bundled_dependencies.dir/build.make:61: release/libarrow_bundled_dependencies.a] Error 1
> {code}
> If ARROW_PARQUET=OFF (ARROW-11735), the only dependencies to bundle are re2 and utf8proc. So we could either fix the {{ar}} invocation, or we could make re2 and utf8proc optional. Build-wise, they are optional, but we have some tests that call the string kernels, and we'd need to know that they should be skipped (i.e. another option in {{skip_if_not_available()}}.



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