powered by
Transfer a table from one location to another.
transfer_table(source_db, dest_db, source_table, dest_table, job_name = NULL, source_credential_id = NULL, dest_credential_id = NULL, interval = NULL, verbose = FALSE, advanced_options = NULL)
string or int, The name of the database where the source table is located. Optionally, could be the database ID.
string or int, The name of the database where the table will be transferred. Optionally, could be the database ID.
string, Full name of the table to transfer, e.g., "schema.table".
"schema.table"
string, Full name of the table in the destination database, e.g., "schema.table".
string, optional, A name to give the job. If omitted, a random job name will be used.
string or int, Optional credential ID for the source database. If NULL, the default credential will be used.
NULL
Number of seconds to wait between checks for job completion. If NULL, the default exponential backoff from await will be used.
await
bool, Set to TRUE to print intermediate progress indicators.
A list of advanced options for the sync. See imports_post_syncs for details.
imports_post_syncs
A civis_api object.
civis_api
Other tables: get_table_id, refresh_table
get_table_id
refresh_table
# NOT RUN { transfer_table(source_db='Cluster A', dest_db='Cluster B', source_table='schma.tbl', dest_table='schma.tbl') # }
Run the code above in your browser using DataLab