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 2021/09/14 09:04:00 UTC
[jira] [Closed] (ARROW-13985) [R] Warning/error if
dplyr::summarise() called when column is renamed but the original should be
displayed in output too
[ https://issues.apache.org/jira/browse/ARROW-13985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicola Crane closed ARROW-13985.
--------------------------------
Resolution: Duplicate
> [R] Warning/error if dplyr::summarise() called when column is renamed but the original should be displayed in output too
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: ARROW-13985
> URL: https://issues.apache.org/jira/browse/ARROW-13985
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Nicola Crane
> Priority: Minor
>
> I was playing around with contrived examples to come up with tests for the dplyr::distinct() implementation, and tried this code:
> {code:java}
> tbl <- example_data
> tbl$some_grouping <- rep(c(1, 2), 5)
> tbl %>% Table$create() %>%
> group_by(some_grouping, false, lgl) %>%
> summarise(x = lgl) %>%
> collect()
> {code}
> but got this warning/error message:
> {{Warning: Error in .f(.x[[i]], ...) : attempt to apply non-function; pulling data into R}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)