Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this Page

Table of Contents
maxLevel2
excludeAdditional Resources|Related Links|Related Information

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

  1. Within Manager, create an account for your S3 credentials.
  2. Within Designer, create a new pipeline.
  3. 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-*
  4. 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