pachadotdev opened a new pull request #10497:
URL: https://github.com/apache/arrow/pull/10497


   ``` r
   library(arrow)
   #> See arrow_info() for available features
   #> 
   #> Attaching package: 'arrow'
   #> The following object is masked from 'package:utils':
   #> 
   #>     timestamp
   library(dplyr)
   #> 
   #> Attaching package: 'dplyr'
   #> The following objects are masked from 'package:stats':
   #> 
   #>     filter, lag
   #> The following objects are masked from 'package:base':
   #> 
   #>     intersect, setdiff, setequal, union
   
   xy <- tibble::tibble(x = c(1:4,NA), y = c(5:9))
   
   xy %>%
     Table$create() %>%
     mutate(
       z = pmin(x, y)
     )
   #> Warning in any(na.m): coercing argument of type 'environment' to logical
   #> Warning: Expression pmin(x, y) not supported in Arrow; pulling data into R
   #> # A tibble: 5 x 3
   #>       x     y     z
   #>   <int> <int> <int>
   #> 1     1     5     1
   #> 2     2     6     2
   #> 3     3     7     3
   #> 4     4     8     4
   #> 5    NA     9    NA
   ```
   
   <sup>Created on 2021-06-09 by the [reprex 
package](https://reprex.tidyverse.org) (v2.0.0)</sup>
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to