[
https://issues.apache.org/jira/browse/ARROW-17916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17612520#comment-17612520
]
Antoine Pitrou commented on ARROW-17916:
----------------------------------------
Ah, ok, that's a good point about {{ARROW_PYTHON}}. Since it's deprecated we
may just ignore it then.
As for the Compute dependency: perhaps we can factor out the casting code in
PyArrow C++ (there's not much of it) and use compilation directives to simply
return {{NotImplemented}} if Compute was not enabled.
> [Python] Allow disabling more components
> ----------------------------------------
>
> Key: ARROW-17916
> URL: https://issues.apache.org/jira/browse/ARROW-17916
> Project: Apache Arrow
> Issue Type: Wish
> Components: Python
> Affects Versions: 9.0.0
> Reporter: Antoine Pitrou
> Priority: Major
> Fix For: 11.0.0
>
>
> Some users would like to build lightweight versions of PyArrow, for example
> for use in AWS Lambda or similar systems which constrain the total size of
> usable libraries.
> However, PyArrow currently mandates some Arrow C++ components which can lead
> to a very sizable Arrow binary install: Compute, CSV, Dataset, Filesystem,
> HDFS and JSON.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)