From de8acb0bef7c67e09b6ced54819ed0b08ef2bf9c Mon Sep 17 00:00:00 2001 From: Doug Guthrie Date: Wed, 3 May 2023 21:31:50 +0000 Subject: [PATCH 1/2] bad sql --- models/staging/tpch/stg_tpch_customers.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/staging/tpch/stg_tpch_customers.sql b/models/staging/tpch/stg_tpch_customers.sql index 7195d93..289faeb 100644 --- a/models/staging/tpch/stg_tpch_customers.sql +++ b/models/staging/tpch/stg_tpch_customers.sql @@ -15,7 +15,7 @@ cleanup as ( c_phone as phone_number, c_acctbal as account_balance, c_mktsegment as market_segment, - c_comment as comment + c_comment as comment, from source From bfd8d2342c4301df267c405066943b8b8bceff85 Mon Sep 17 00:00:00 2001 From: Doug Guthrie Date: Mon, 15 May 2023 17:48:10 +0000 Subject: [PATCH 2/2] bad sql --- tests/stg_tpch_orders_assert_positive_price.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/stg_tpch_orders_assert_positive_price.sql b/tests/stg_tpch_orders_assert_positive_price.sql index ff5bdf1..2835d04 100644 --- a/tests/stg_tpch_orders_assert_positive_price.sql +++ b/tests/stg_tpch_orders_assert_positive_price.sql @@ -10,4 +10,4 @@ with orders as ( select * from {{ ref('stg_tpch_orders') }} ) select * from orders -where total_price < 0 +where total_price > 0