copy_s3_to_redshift: Copy to Redshift from S3

Description Usage Arguments Examples

View source: R/etl_functions.R

Description

Easily copy structured text files from S3 to Redshift.

Usage

1
2
copy_s3_to_redshift(connection, object_name, object_type = ".csv",
  table_name, bucket_name = "everlane-data")

Arguments

connection

Database connection object

object_name

Full path to s3 location

object_type

Possible values of ".csv" and ".txt"

table_name

full name of Redshift table to copy to

bucket_name

name of S3 bucket

Examples

1
copy_s3_to_redshift(connection = redshift_conn, object_name = "s3_file_path.txt", object_type = ".txt", table_name = "data.test_table", bucket_name = "everlane-data")

Everlane/everlaneR documentation built on Oct. 7, 2020, 3:13 p.m.