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

sparklyr fails to create temp table in _join(copy=TRUE) with dplyr and Spark 2.0.0 #339

Closed
JohnMount opened this issue Nov 27, 2016 · 1 comment
Labels

Comments

@JohnMount
Copy link

sparklyr fails to create temp table in _join(copy=TRUE) with dplyr and Spark 2.0.0. Example with outcome in link.

@javierluraschi
Copy link
Collaborator

Thank you, working as expected now, using latest saprklyr/dplyr and Spark 2.2:

> d1 <- copy_to(sc,data.frame(x=c(1,2),y=c('a','b')),'d1')
> d2 <- data.frame(y=c('a','b'),z=c(3,4))
> d1 %>% dplyr::inner_join(d2,by='y',copy=TRUE)
# Source:   lazy query [?? x 3]
# Database: spark_connection
      x     y     z
  <dbl> <chr> <dbl>
1     1     a     3
2     2     b     4

However, this is most likely fixed in sparklyr/dplyr and unrelated to Spark version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants