dwh_replace_table_from_temp_table: Replace DWH Table from temporary table

Description Usage Arguments Examples

View source: R/redshift_manipulation.R

Description

Replace data using another temporary table. The existing table will be truncated.

Usage

1
2
dwh_replace_table_from_temp_table(con, table_name, temp_table, slots = 1,
  transaction = T)

Arguments

con

Connection where to use the temporary table

table_name

The name of the table in Amazon Redshift to copy into

temp_table

The name of the temporary table in Amazon Redshift

slots

The number of slots to use

transaction

Use begin/commit commands, by default yes

Examples

1
2
3
con = dwh_connect()
# [...] generate temp table
dwh_replace_table_from_temp_table(con, 'test_table', 'temp_table')

auth0/rauth0 documentation built on July 3, 2021, 4:11 p.m.