In this Page
Table of Contents | ||||
---|---|---|---|---|
|
Scenario
I want to read multiple files from S3 and write it to a single file back in S3.
Requirements
Snaps Used
For this scenario, the following Snaps are used:
- Multi File Reader
- File Writer
Other Requirements
- An S3 account
- Several files within an S3 bucket with similar names. This example will utilize the wildcard functionality of the Multi File Reader Snap.
Configuration
- Within Manager, create an account for your S3 credentials.
- Within Designer, create a new pipeline.
- Add and configure a Multi File Reader Snap.
- Set Folder/File to the bucket path within S3, such as
s3:///demo-sl-bucket/
- Set Wildcard to a value that will pull the files you need, such as delta.csv-*
- Set Folder/File to the bucket path within S3, such as
- Add and configure a File Writer Snap.
- Set the File Name to the name of the file where you want the results written to, such as
s3:///demo-sl-write-/fulldelta.csv
- Set the File Name to the name of the file where you want the results written to, such as