You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/08/31 13:12:51 UTC

[GitHub] [arrow] ianmcook commented on a change in pull request #11009: ARROW-13620: [R] Binding for n_distinct()

ianmcook commented on a change in pull request #11009:
URL: https://github.com/apache/arrow/pull/11009#discussion_r699308976



##########
File path: r/tests/testthat/test-dplyr-aggregate.R
##########
@@ -235,6 +235,24 @@ test_that("Group by any/all", {
   )
 })
 
+test_that("Group by n_distinct() on dataset", {
+  expect_dplyr_equal(
+    input %>%
+      group_by(some_grouping) %>%
+      summarize(distinct = n_distinct(lgl, na.rm = FALSE)) %>%
+      collect(),
+    tbl
+  )
+  skip("ARROW-13764 - CountOptions (na.rm) not yet implemented for compute_distinct")

Review comment:
       Looks like ARROW-13764 is merged now
   ```suggestion
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org