[
https://issues.apache.org/jira/browse/ARROW-14288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17461508#comment-17461508
]
Dewey Dunnington commented on ARROW-14288:
------------------------------------------
I'd be happy to take a look at this with a reprex of the example queries where
`nrow()` returns `NA` but shouldn't? Or perhaps I'm misinterpreting the intent
of the ticket?
> [R] Implement nrow on some collapsed queries
> --------------------------------------------
>
> Key: ARROW-14288
> URL: https://issues.apache.org/jira/browse/ARROW-14288
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Neal Richardson
> Priority: Major
> Fix For: 7.0.0
>
>
> collapse() doesn't always mean we can't determine the number of rows. We can
> try to solve some cases:
> * head/tail: compute number of rows, take the smaller of that and the
> head/tail number
> * if filter == TRUE, take the number of rows of .data (which may contain a
> query)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)