Skip to main content

Accessing data from data lakes

Learn how to access data stored in data lakes.

info

If you want to try this example, you can deploy the following endpoint:

Read dta from S3 buckets across separate AWS accounts
Learn how to serve data live from two S3 buckets across two separate AWS accounts.

Usage:

/aws/s3/buckets

Introduction

Snapi supports reading data directly from S3.

To do so, you must first build a location and then read the file. For example, the following code reads a CSV file from S3:

let
location = S3.Build("my-bucket", "/data.csv", accessKey = "<AWS ACCESS KEY>", secretKey = "<AWS SECRET KEY>")
in
Csv.InferAndRead(location)

You can use wildcards in the S3 location.

note

If you want to access data from other data lakes that are not yet supported, reach out to us.