jonkeane commented on code in PR #46261: URL: https://github.com/apache/arrow/pull/46261#discussion_r2137937812
########## r/src/compute.cpp: ########## @@ -621,6 +621,14 @@ std::vector<std::string> compute__GetFunctionNames() { return arrow::compute::GetFunctionRegistry()->GetFunctionNames(); } +// [[arrow::export]] +void compute__Initialize() { +#if ARROW_VERSION_MAJOR >= 21 + auto status = arrow::compute::Initialize(); + StopIfNotOk(status); +#endif Review Comment: Do we need the version guard here at all? We no longer support backwards compatibility with old libarrows in the R library (#43623), so I don't _think_ this is strictly necessary but I'm fine to keep it if it's helpful for some other reason? -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org