From cf2f91e3a105a42010a4858021cd846140ad8537 Mon Sep 17 00:00:00 2001 From: Sung Won Chung Date: Tue, 14 May 2024 17:29:38 -0700 Subject: [PATCH] add new column example --- models/staging/stg_payments.sql | 1 + requirements.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/models/staging/stg_payments.sql b/models/staging/stg_payments.sql index 46e248b..c56a9da 100644 --- a/models/staging/stg_payments.sql +++ b/models/staging/stg_payments.sql @@ -15,6 +15,7 @@ SELECT payment_method, amount / 100 AS amount, /* `amount` is currently stored in cents, so we convert it to dollars */ -- 'new_column' AS new_column, /* non-breaking change example */ + 'new_column' AS new_column_v2 FROM demo.seed_raw_payments -- how to generate unit test code without manually writing yaml by hand diff --git a/requirements.txt b/requirements.txt index e0b9523..85b4cff 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -sqlmesh[web,postgres,github,bigquery]==0.92.0 +sqlmesh[web,postgres,github,bigquery]==0.95.3 pytest==8.1.1