You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ARROW-12861 adds a sign kernel to the C++ library. Add a mapping to this in the R package.
I think this should be as simple as just adding
"sign" = "sign",
to .unary_function_map in expression.R, plus a simple test.
Note that the C++ library's sign kernel returns integer output whereas base R's sign function returns numeric (double) output, so a test written with expect_dplyr_equal() might fail unless it explicitly converts the output from sign() using as.numeric() or as.integer().
Activity
asfimport commentedon Jul 17, 2021
Alenka Frim / @AlenkaF:
@nealrichardson this is a duplicate of https://issues.apache.org/jira/browse/ARROW-13357.
asfimport commentedon Jul 17, 2021
Neal Richardson / @nealrichardson:
Ah you're right, thanks!