sdf_seq: Create DataFrame for Range

Description Usage Arguments

View source: R/sdf_sequence.R

Description

Creates a DataFrame for the given range

Usage

1
2
3
4
5
6
7
8
sdf_seq(
  sc,
  from = 1L,
  to = 1L,
  by = 1L,
  repartition = NULL,
  type = c("integer", "integer64")
)

Arguments

sc

The associated Spark connection.

from, to

The start and end to use as a range

by

The increment of the sequence.

repartition

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

type

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


sparklyr documentation built on June 17, 2021, 5:06 p.m.