Skip to content

LeapSQLSQL Transformation Framework

Transform your data with pure SQL. No ref() functions, no boilerplate - just write SQL and let LeapSQL handle the rest.

LeapSQL Logo

Quick Example

sql
/*---
name: customers
materialized: table
---*/

SELECT
    c.id,
    c.name,
    c.email,
    COUNT(o.id) as order_count,
    SUM(o.amount) as total_spent
FROM raw_customers c
LEFT JOIN raw_orders o ON c.id = o.customer_id
GROUP BY c.id, c.name, c.email

LeapSQL automatically:

  • Detects that this model depends on raw_customers and raw_orders
  • Tracks that order_count comes from orders.id and total_spent from orders.amount
  • Builds and runs models in the correct order

Released under the MIT License.