sdf_len: Create DataFrame for Length

View source: R/sdf_sequence.R

sdf_lenR Documentation

Create DataFrame for Length

Description

Creates a DataFrame for the given length.

Usage

sdf_len(sc, length, repartition = NULL, type = c("integer", "integer64"))

Arguments

sc

The associated Spark connection.

length

The desired length of the sequence.

repartition

The number of partitions to use when distributing the data across the Spark cluster.

type

The data type to use for the index, either "integer" or "integer64".


rstudio/sparklyr documentation built on April 30, 2024, 4:01 p.m.