Description Usage Arguments Examples
View source: R/redshift_manipulation.R
Replace data using another temporary table. The existing table will be truncated.
1 2 | dwh_replace_table_from_temp_table(con, table_name, temp_table, slots = 1,
transaction = T)
|
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 |
1 2 3 | con = dwh_connect()
# [...] generate temp table
dwh_replace_table_from_temp_table(con, 'test_table', 'temp_table')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.