Skip to main content

S3 Writer Configuration

To enable S3 writes, you must create a writer.json file with the configuration parameters listed below. The sample configuration provided here outlines the necessary keys and their expected values.

writer.json
{
"type": "PARQUET",
"writer": {
"normalization": false,
"s3_bucket": "olake-s3-test",
"s3_region": "ap-south-1",
"s3_access_key": "xxxxxxxxxxxxxxxxxxxx",
"s3_secret_key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"s3_path": "/data"
}
}

Configuration Key Details

KeyDescriptionData TypeProbable Values
typeSpecifies the output file format for writing data. Currently, only the "PARQUET" format is supported.string"PARQUET"
writer.normalizationIndicates whether data normalization (JSON flattening) should be applied before writing data to S3. Use true if you require normalized output, or false if not.booleantrue or false (this example uses false)
writer.s3_bucketThe name of the Amazon S3 bucket where your output files will be stored. Ensure that the bucket exists and that you have proper access.stringA valid S3 bucket name (e.g. "olake-s3-test")
writer.s3_regionThe AWS region where the specified S3 bucket is hosted.stringAWS region codes such as "ap-south-1", "us-west-2", etc.
writer.s3_access_keyThe AWS access key used for authenticating S3 requests. This is typically a 20-character alphanumeric string.stringA valid AWS access key
writer.s3_secret_keyThe AWS secret key used for S3 authentication. This key is generally longer (often 40+ characters) and should be kept secure.stringA valid AWS secret key
writer.s3_pathThe specific path (or prefix) within the S3 bucket where data files will be written. This is typically a folder path that starts with a / (e.g. "/data").stringA valid path string

OLake S3 Bucket

info
  1. The generated .parquet files use SNAPPY compression (Read more). Note that SNAPPY is no longer supported by S3 Select when performing queries.
  2. OLake creates a test folder named olake_writer_test containing a single text file (.txt) with the content:
    S3 write test
    This is used to verify that you have the necessary permissions to write to S3.

Need Assistance?

If you have any questions or uncertainties about setting up OLake, contributing to the project, or troubleshooting any issues, we’re here to help. You can:

  • Email Support: Reach out to our team at hello@olake.io for prompt assistance.
  • Join our Slack Community: where we discuss future roadmaps, discuss bugs, help folks to debug issues they are facing and more.
  • Schedule a Call: If you prefer a one-on-one conversation, schedule a call with our CTO and team.

Your success with OLake is our priority. Don’t hesitate to contact us if you need any help or further clarification!

Join OLake Cloud waitlist
Low-cost
Easy Data Ingestion
Elastic Scaling
Join Waitlist