Skip to content

Instantly share code, notes, and snippets.

@jonaslsl
Created January 17, 2024 17:53
Show Gist options
  • Save jonaslsl/cc40ba3ccf90c0f62ce68385e0ba17e4 to your computer and use it in GitHub Desktop.
Save jonaslsl/cc40ba3ccf90c0f62ce68385e0ba17e4 to your computer and use it in GitHub Desktop.
name: sample_etl_configuration
description: Here's some example of an ETL that serves as an input for data processing
tasks:
extract_from_sql:
template_file: extract.sql
validation_file: extraction_contract.yml
transform:
functions: [add_total_fees, add_total_payout, agg_by_day_and_platform]
validation_file: transformed_contract.yml
load_from_sql:
template_file: load.sql
validation_file: load_contract.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment