Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

distinct() does not work if a column of the tbl is a list column #3088

Closed
dkincaid opened this issue Sep 6, 2017 · 1 comment
Closed

distinct() does not work if a column of the tbl is a list column #3088

dkincaid opened this issue Sep 6, 2017 · 1 comment
Labels

Comments

@dkincaid
Copy link

@dkincaid dkincaid commented Sep 6, 2017

If a data frame contains a list column then distinct is not working. It simply returns all rows.

library(tibble)
library(dplyr)
testTbl <- tibble(a=c("1", "1", "2", "2", "3","3"), b=c(list("A"), list("A"), list("B"), list("B"), list("C"), list("C")))
testTblDistinct <- testTbl %>% distinct()
@krlmlr
Copy link
Member

@krlmlr krlmlr commented Sep 15, 2017

Thanks, confirmed. This is related to #2355, but we should emit an error or at least a warning here for the time being.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants