copy_to: Copy a local data frame to Hive

Description Usage Arguments Details Value

Description

copy_to copies a local data frame to a table in the active Hive database.

Usage

1
2
3
## S3 method for class 'src_Hive'
copy_to(src, df, name = lazyeval::expr_text(df),
  temporary = TRUE, indexes = NULL, overwrite = FALSE)

Arguments

src

A src_Hive connection object

df

The local data frame to copy

name

What to name the table in Hive

temporary

Whether to create a temporary or permanent table

overwrite

Whether to overwrite an existing table with the same name if one exists in the Hive database

Details

By default, a temporary table in the Hive database will be created, unless you specify that it should be a permanent table.

Value

A tbl_Hive object reference to the Hive table created


ZurichPA/honeycomb documentation built on Aug. 29, 2020, 6:56 p.m.