amoeba commented on issue #40938:
URL: https://github.com/apache/arrow/issues/40938#issuecomment-2073868641

   I think so! With your patch, the example that error'd before now works:
   
   ```r
   > library(arrow)
   > udf <- function(x) gsub("A", "B", x)
   > open_dataset("data.csv", format = "csv") |>
   +   mutate(b = udf(a)) |>
   +   collect()
   # A tibble: 10 × 2
      a     b
      <chr> <chr>
    1 A     B
    2 A     B
    3 A     B
    4 A     B
    5 A     B
    6 A     B
    7 A     B
    8 A     B
    9 A     B
   10 A     B
   ```
   
   Closing as done by https://github.com/apache/arrow/pull/41223. Thanks 
@nealrichardson.


-- 
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]

Reply via email to