dragosmg opened a new pull request #12357:
URL: https://github.com/apache/arrow/pull/12357
This PR should make the following snippets of code equivalent:
``` r
df <- tibble::tibble(
x = as.POSIXct(c("2022-02-07", "2022-03-04"), tz = "Pacific/Marquesas")
)
df %>%
mutate(timezone = tz(x))
# A tibble: 2 × 2
x timezone
<dttm> <chr>
1 2022-02-07 00:00:00 Pacific/Marquesas
2 2022-03-04 00:00:00 Pacific/Marquesas
```
and
```r
dr %>%
record_batch() %>%
mutate(timezone = tz(x) %>%
collect()
```
--
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]