You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2021/01/11 21:41:00 UTC

[jira] [Created] (ARROW-11214) [Rust] [DataFusion] Add optional rust features for functions in library to keep dependencies down

Andrew Lamb created ARROW-11214:
-----------------------------------

             Summary: [Rust] [DataFusion] Add optional rust features for functions in library to keep dependencies down
                 Key: ARROW-11214
                 URL: https://issues.apache.org/jira/browse/ARROW-11214
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Rust - DataFusion
            Reporter: Andrew Lamb


As we expand the numbers of functions available in DataFusion, DataFusion will likely pick up additional third-party dependencies. In general, I think it would be a nice feature for DataFusion to  allow users more fine grained control over the features that they wanted to use (and pay the subsequently higher compilation / link time (and binary size) cost. At the moment, with a single codebase and no feature flags, everyone's compile time and binary size will increase even if they don't use a specific set of features. 

It seems to me like we might want to start offering a way to keep the number of required dependencies of DataFusion down. For example, in the case of https://github.com/apache/arrow/pull/9139, we could potentially put the use of crypto functions behind a feature flag. Users of DataFusion could then pick a subset of features  like "core" and "func-datetime" and "func-crypto" to have more control over the dependencies they pulled in





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