Output to a Redshift table
Ensure that you have a Redshift connection with the correct permissions to write to your target table. Additionally, this target table and columns should already exist within Redshift before writing to it using SQLake.
You also need a storage connection that has access to the bucket you would like the job to use to store the intermediate files used while running the job.
Finally, you should also have a staging table created previously that contains the data you intend to write to Redshift.
Once you have fulfilled the prerequisites, you can create an
INSERT
job as follows:This example only uses a subset of all job options available when writing to Redshift. Depending on your use case, you may want to configure a different set of options.
For the full list of job options with syntax and detailed descriptions, see: Redshift transformation job options
Last modified 3mo ago