You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Ian Cook (Jira)" <ji...@apache.org> on 2021/08/04 04:04:00 UTC
[jira] [Created] (ARROW-13543) [R] Errors when no aggregate
function in summarise()
Ian Cook created ARROW-13543:
--------------------------------
Summary: [R] Errors when no aggregate function in summarise()
Key: ARROW-13543
URL: https://issues.apache.org/jira/browse/ARROW-13543
Project: Apache Arrow
Issue Type: Bug
Components: R
Reporter: Ian Cook
Fix For: 6.0.0
Following ARROW-13344, we should handle the case in which the user calls {{summarise()}} but does not call any aggregate functions in it.
Currently this is unhandled and results in errors (which are then are converted to warnings) like:
{code:java}
Warning: Error in x[c("fun", "options")] : object of type 'environment' is not subsettable ; pulling data into R{code}
or when the expression has only scalar literals:
{code:java}
Warning: Error : $ operator is invalid for atomic vectors
; pulling data into R {code}
We should aim for consistency with {{dplyr::summarise()}} but if that's not practical then we should detect this case and throw a more informative error.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)