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 April 4, 2025, 4:45 a.m.