spark_write_insert: Insert into a Spark Managed Table

Description Usage Arguments Details

View source: R/read-write.R

Description

Inserts the content of the spark_tbl into the specified table. An R wrapper for Spark's insertInto.

Usage

1
spark_write_insert(.data, table, mode = "append")

Arguments

.data

a spark_tbl

table

string, the table name

mode

string, usually "append" (default), "overwrite", "error", or "ignore"

Details

Unlike saveAsTable, insertInto ignores the column names and just uses position-based resolution. Watch out for column order!


danzafar/tidyspark documentation built on Sept. 30, 2020, 12:19 p.m.