Description Usage Arguments Examples
View source: R/redshift_manipulation.R
Replace data using an SQL query. The existing table will be dropped if it exists.
1 2 | dwh_replace_table_from_sql(table_name, query, group_read = "DWH_READ",
group_all = "DWH", slots = 1, pcon = NULL)
|
table_name |
The name of the table in Amazon Redshift |
query |
The query to execute to create the table in Amazon Redshift |
group_read |
The group that will have read access to the table |
group_all |
The group that will have all access to the table |
slots |
The number of slots to use |
pcon |
Optionally, use an existing connection, if not, will start a temporary connection to use |
1 | dwh_replace_table_from_sql('test_table', 'select 1')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.