Insert records into Redshift table
This example demonstrates how to use the Redshift - Insert Snap to insert new records into a Redshift table. The Snap can also create the table automatically if it doesn't exist when the Create table if not present option is enabled.
The pipeline uses a JSON Generator to provide sample employee data, which is then inserted into a Redshift table using the Insert Snap.
- A valid Redshift account
- A target Redshift table (or the Snap can create it if it doesn't exist)
- Appropriate permissions to insert records into the target table
The Snap successfully inserts all records into the Redshift table. The output shows:
- Status of each insert operation
- The original input data for each record
Warning: According to Amazon's Redshift documentation, Amazon strongly recommends
using the BULK insert functionality for large datasets. Consider using the Redshift - Bulk Load Snap for better performance with large
volumes of data.