R/tbl_spark.R

Defines functions type_sum.spark_jobj dim.tbl_spark

#' @export
dim.tbl_spark <- function(x) {
  c(NA_real_, sdf_ncol(x))
}

#' @export
type_sum.spark_jobj <- function(x) {
  paste0(jobj_info(x)$repr)
}

Try the sparklyr package in your browser

Any scripts or data that you put into this service are public.

sparklyr documentation built on Jan. 8, 2022, 5:06 p.m.