Sparklyr: Error in if (n > 0) c(NA_integer_, -n) else integer()

Created on 4 Jan 2019  路  3Comments  路  Source: sparklyr/sparklyr

I'm connected to the cluster.

sc <- spark_connect(master = "yarn-client", version = "2.3.1")

and i create one data.frame and copy to tbl_spark:

df<- copy_to(sc, data.frame(x=c(1, NA, 2), y=c(NA, 2, NA), z=42))

the following error arises, when I try to view or do any operation:

df

Error in if (n > 0) c(NA_integer_, -n) else integer() :
missing value where TRUE/FALSE needed

data

Most helpful comment

it's works! @javierluraschi

thanks so much!

I really admire your work, keep to help thousands of people!

All 3 comments

Fix on its way, CRAN will be also patched in the next couple days.

@hanfernandes fix available by reinstalling with:

devtools::install_github("rstudio/sparklyr")

it's works! @javierluraschi

thanks so much!

I really admire your work, keep to help thousands of people!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hanfernandes picture hanfernandes  路  3Comments

joscani picture joscani  路  4Comments

eijoac picture eijoac  路  3Comments

Scotturbina picture Scotturbina  路  3Comments

mikhailBalyasin picture mikhailBalyasin  路  4Comments