GCS (Google Cloud Storage) Destination PluginLatest: v2.0.0
This destination plugin lets you sync data from a CloudQuery source to remote GCS (Google Cloud Storage) storage in various formats such as CSV, JSON.
This is useful in various use-cases, especially in data lakes where you can query the data direct from Athena or load it to various data warehouses such as BigQuery, RedShift, Snowflake and others.
This example configures a GCS destination, to create CSV files in
gcs://bucket_name/path/to/files. Note that the GCS plugin only supports
The (top level) spec section is described in the Destination Spec Reference.
kind: destination spec: name: "gcs" path: "cloudquery/gcs" version: "v2.0.0" write_mode: "append" # gcs only supports 'append' mode # batch_size: 10000 # optional # batch_size_bytes: 5242880 # optional spec: bucket: "bucket_name" path: "path/to/files" format: "csv" format_spec: delimiter: ","
This is the (nested) spec used by the CSV destination Plugin.
Bucket where to sync the files.
Path to where the files will be uploaded in the above bucket.
Format of the output file.
format_spec(map format_spec) (optional) Optional parameters to change the format of the file
delimiter(string) (optional) (default:
Character that will be used as want to use as the delimiter if the format type is
skip_header(bool) (optional) (default: false)
Specifies if the first line of a file should be the headers (when format is