MCPcopy Create free account
hub / github.com/apache/arrow / compute___expr__call

Function compute___expr__call

r/src/expression.cpp:34–47  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

32}
33// [[arrow::export]]
34std::shared_ptr<compute::Expression> compute___expr__call(std::string func_name,
35 cpp11::list argument_list,
36 cpp11::list options) {
37 std::vector<compute::Expression> arguments;
38 for (SEXP argument : argument_list) {
39 auto argument_ptr = cpp11::as_cpp<std::shared_ptr<compute::Expression>>(argument);
40 arguments.push_back(*argument_ptr);
41 }
42
43 auto options_ptr = make_compute_options(func_name, options);
44
45 return std::make_shared<compute::Expression>(
46 compute::call(std::move(func_name), std::move(arguments), std::move(options_ptr)));
47}
48
49// [[arrow::export]]
50bool compute___expr__is_field_ref(const std::shared_ptr<compute::Expression>& x) {

Callers 1

Calls 3

make_compute_optionsFunction · 0.85
push_backMethod · 0.80
callFunction · 0.50

Tested by

no test coverage detected