← All use cases
Extracts to S3, GCS or Azure Blob
Another team or system wants a typed extract in a bucket, partitioned by date, every day. Selecting the rows is the easy part; naming the file, typing the columns and getting it to the right bucket is the part DRE takes off your hands.
↓ Download the parquet file (regions.parquet)
queries: [extract_regions]
output:
format: parquet
destination:
- {profile: s3_keys, path: "s3://dre-demo/extracts/{{ run.date.yyyy }}/{{ run.date.mm }}/regions.parquet"}
- {profile: gcs, path: "extracts/regions-{{ run.date.yyyymmdd }}.parquet"}
- {profile: azure_cs, path: "extracts/regions-{{ run.date.yyyymmdd }}.parquet"}select * from {{ ref('delivery_sample') }}dre run extracts