Table of Contents

Search

  1. Preface
  2. Introduction to Amazon S3 V2 Connector
  3. Connections for Amazon S3 V2
  4. Amazon S3 V2 sources and targets
  5. Mappings and mapping tasks with Amazon S3 V2
  6. Migrating a mapping
  7. Upgrading to Amazon S3 V2 Connector
  8. Data type reference
  9. Troubleshooting

Amazon S3 V2 Connector

Amazon S3 V2 Connector

Reading a compressed JSON file

Reading a compressed JSON file

When you
run a mapping to
read data from a compressed JSON file, you must upload a schema file and select
Bzip2
as the compression format. Use the
.BZ2
file name extension when you use the
Bzip2
compression format to read a JSON file.
  1. Select the required compressed JSON file.
  2. Navigate to
    Formatting Options
    property field.
  3. Select
    Import from schema file
    option and upload the schema.
    The following figure shows a sample schema file for a JSON file:
    {"Field1":"<string>","Field2":"<string>","Field3":<integer>}
    Use a row that has data for all the columns as the JSON schema.
  4. Select
    Compression Format
    as
    Bzip2
    from the advanced source properties.

0 COMMENTS

We’d like to hear from you!