csgillespie opened a new issue, #37761:
URL: https://github.com/apache/arrow/issues/37761
### Describe the bug, including details regarding any error messages,
version, and platform.
For `in_type`, I would have expected the argument name should match the
data. But this doesn't seem to be the case
```
library(arrow)
library(dplyr)
# Make data set
write.csv(sleep, "sleep.csv", row.names = F)
# Register function
register_scalar_function(
name = "f",
fun = function(context, x) as.integer(x),
in_type = schema(blah = int64()), # NOTE: Schema name
out_type = int32(),
auto_convert = TRUE
)
open_dataset("sleep.csv", format = "csv") |>
mutate(f(group)) |>
head() |>
collect()
```
### Component(s)
R
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]