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/12/01 08:33:00 UTC
[jira] [Resolved] (ARROW-14586) [R] summarise() with nested aggregate expressions has a confusing error
[ https://issues.apache.org/jira/browse/ARROW-14586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicola Crane resolved ARROW-14586.
----------------------------------
Fix Version/s: 7.0.0
Resolution: Fixed
Issue resolved by pull request 11777
[https://github.com/apache/arrow/pull/11777]
> [R] summarise() with nested aggregate expressions has a confusing error
> -----------------------------------------------------------------------
>
> Key: ARROW-14586
> URL: https://issues.apache.org/jira/browse/ARROW-14586
> Project: Apache Arrow
> Issue Type: Bug
> Components: R
> Reporter: Dewey Dunnington
> Assignee: Dewey Dunnington
> Priority: Minor
> Labels: pull-request-available
> Fix For: 7.0.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> This affects code along the lines of {{summarise(mean(mean(var))}} where the inner expression is an aggregate function. This is probably not useful but the error it gives is not particularly helpful:
> {code:R}
> library(arrow, warn.conflicts = FALSE)
> library(dplyr, warn.conflicts = FALSE)
> RecordBatch$create(x = 4) %>%
> summarise(y = mean(mean(x)))
> #> Warning: Error in mean(..temp0) : object '..temp0' not found; pulling data into
> #> R
> #> # A tibble: 1 × 1
> #> y
> #> <dbl>
> #> 1 4
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)