sdf_register: Register a Spark DataFrame

View source: R/sdf_interface.R

sdf_registerR Documentation

Register a Spark DataFrame

Description

Registers a Spark DataFrame (giving it a table name for the Spark SQL context), and returns a tbl_spark.

Usage

sdf_register(x, name = NULL)

Arguments

x

A Spark DataFrame.

name

A name to assign this table.

See Also

Other Spark data frames: sdf_copy_to(), sdf_distinct(), sdf_random_split(), sdf_sample(), sdf_sort(), sdf_weighted_sample()


rstudio/sparklyr documentation built on Sept. 18, 2024, 6:10 a.m.