bqExtractTable: Exports BigQuery table into Google Cloud Storage file

View source: R/bigquery.gs.R

bqExtractTableR Documentation

Exports BigQuery table into Google Cloud Storage file

Description

Exports BigQuery table into Google Cloud Storage file

Usage

bqExtractTable(
  table,
  dataset = bqDefaultDataset(),
  format = "CSV",
  compression = "GZIP"
)

Arguments

table

name of the table to extract

dataset

name of the dataset

format

The exported file format. Possible values include "CSV", "NEWLINE_DELIMITED_JSON" and "AVRO". Tables with nested or repeated fields cannot be exported as CSV.

compression

The compression type to use for exported files. Possible values include "GZIP", "DEFLATE", "SNAPPY", and "NONE". "DEFLATE" and "SNAPPY" are only supported for Avro.

Value

object of 'bq_job'

See Also

?bigrquery::bq_table_save


madedotcom/retl documentation built on Sept. 19, 2022, 3:28 a.m.