Description
We increased the minimal version of Arrow R version to 1.0.0 at SPARK-32452, and Arrow R 0.14 dropped as_tibble. We can remove the usage in SparkR:
pkg/R/DataFrame.R: # Arrow drops `as_tibble` since 0.14.0, see ARROW-5190. pkg/R/DataFrame.R: if (exists("as_tibble", envir = asNamespace("arrow"))) { pkg/R/DataFrame.R: as.data.frame(arrow::as_tibble(arrowTable), stringsAsFactors = stringsAsFactors) pkg/R/deserialize.R: # Arrow drops `as_tibble` since 0.14.0, see ARROW-5190. pkg/R/deserialize.R: useAsTibble <- exists("as_tibble", envir = asNamespace("arrow")) pkg/R/deserialize.R: as_tibble <- get("as_tibble", envir = asNamespace("arrow")) pkg/R/deserialize.R: lapply(batches, function(batch) as.data.frame(as_tibble(batch)))
Attachments
Issue Links
- relates to
-
SPARK-32452 Bump up the minimum Arrow version as 1.0.0 in SparkR
- Resolved
- links to