You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Nicola Crane (Jira)" <ji...@apache.org> on 2022/10/24 08:17:00 UTC
[jira] [Commented] (ARROW-18131) [R] Correctly handle .data pronoun in group_by()
[ https://issues.apache.org/jira/browse/ARROW-18131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17623038#comment-17623038 ]
Nicola Crane commented on ARROW-18131:
--------------------------------------
There was some code removed in ARROW-17689 which caused this regression. I'll add it back in.
> [R] Correctly handle .data pronoun in group_by()
> ------------------------------------------------
>
> Key: ARROW-18131
> URL: https://issues.apache.org/jira/browse/ARROW-18131
> Project: Apache Arrow
> Issue Type: Bug
> Components: R
> Reporter: Neal Richardson
> Assignee: Nicola Crane
> Priority: Major
>
> This was detected in revdep checks for the 10.0.0 release. It probably is connected to the eval_select() change, or perhaps the changes to support across():
> {code}
> > mtcars %>% group_by(.data$cyl) %>% collect() %>% summarize(count=n())
> # A tibble: 3 × 2
> cyl count
> <dbl> <int>
> 1 4 11
> 2 6 7
> 3 8 14
> > mtcars %>% arrow_table() %>% group_by(.data$cyl) %>% collect() %>% summarize(count=n())
> # A tibble: 3 × 2
> `.data$cyl` count
> <dbl> <int>
> 1 4 11
> 2 6 7
> 3 8 14
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)