bqr_copy_table: Copy BigQuery table

View source: R/tables.R

bqr_copy_tableR Documentation

Copy BigQuery table

Description

Copy a source table to another destination

Usage

bqr_copy_table(
  source_tableid,
  destination_tableid,
  source_projectid = bqr_get_global_project(),
  source_datasetid = bqr_get_global_dataset(),
  destination_projectid = bqr_get_global_project(),
  destination_datasetid = bqr_get_global_dataset(),
  createDisposition = c("CREATE_IF_NEEDED", "CREATE_NEVER"),
  writeDisposition = c("WRITE_TRUNCATE", "WRITE_APPEND", "WRITE_EMPTY")
)

Arguments

source_tableid

source table's tableId

destination_tableid

destination table's tableId

source_projectid

source table's projectId

source_datasetid

source table's datasetId

destination_projectid

destination table's projectId

destination_datasetid

destination table's datasetId

createDisposition

Create table's behaviour

writeDisposition

Write to an existing table's behaviour

Value

A job object

See Also

Other Table meta functions: Table(), bqr_create_table(), bqr_delete_table(), bqr_list_tables(), bqr_patch_table(), bqr_table_data(), bqr_table_meta()


cloudyr/bigQueryR documentation built on Oct. 28, 2023, 3:36 p.m.