diff --git a/test_build/_sources.yml b/test_build/_sources.yml deleted file mode 100644 index 4991741e1..000000000 --- a/test_build/_sources.yml +++ /dev/null @@ -1,169 +0,0 @@ -sources: -- name: customers - columns: - - name: customer_id - description: "" - data_type: INTEGER - tests: [] - - name: first_name - description: "" - data_type: VARCHAR - tests: [] - - name: last_name - description: "" - data_type: VARCHAR - tests: [] - - name: first_order - description: "" - data_type: DATE - tests: [] - - name: most_recent_order - description: "" - data_type: DATE - tests: [] - - name: number_of_orders - description: "" - data_type: BIGINT - tests: [] - - name: customer_lifetime_value - description: "" - data_type: DOUBLE - tests: [] -- name: orders - columns: - - name: order_id - description: "" - data_type: INTEGER - tests: [] - - name: customer_id - description: "" - data_type: INTEGER - tests: [] - - name: order_date - description: "" - data_type: DATE - tests: [] - - name: status - description: "" - data_type: VARCHAR - tests: [] - - name: credit_card_amount - description: "" - data_type: DOUBLE - tests: [] - - name: coupon_amount - description: "" - data_type: DOUBLE - tests: [] - - name: bank_transfer_amount - description: "" - data_type: DOUBLE - tests: [] - - name: gift_card_amount - description: "" - data_type: DOUBLE - tests: [] - - name: amount - description: "" - data_type: DOUBLE - tests: [] -- name: raw_customers - columns: - - name: id - description: "" - data_type: INTEGER - tests: [] - - name: first_name - description: "" - data_type: VARCHAR - tests: [] - - name: last_name - description: "" - data_type: VARCHAR - tests: [] -- name: raw_orders - columns: - - name: id - description: "" - data_type: INTEGER - tests: [] - - name: user_id - description: "" - data_type: INTEGER - tests: [] - - name: order_date - description: "" - data_type: DATE - tests: [] - - name: status - description: "" - data_type: VARCHAR - tests: [] -- name: raw_payments - columns: - - name: id - description: "" - data_type: INTEGER - tests: [] - - name: order_id - description: "" - data_type: INTEGER - tests: [] - - name: payment_method - description: "" - data_type: VARCHAR - tests: [] - - name: amount - description: "" - data_type: INTEGER - tests: [] -- name: stg_customers - columns: - - name: customer_id - description: "" - data_type: INTEGER - tests: [] - - name: first_name - description: "" - data_type: VARCHAR - tests: [] - - name: last_name - description: "" - data_type: VARCHAR - tests: [] -- name: stg_orders - columns: - - name: order_id - description: "" - data_type: INTEGER - tests: [] - - name: customer_id - description: "" - data_type: INTEGER - tests: [] - - name: order_date - description: "" - data_type: DATE - tests: [] - - name: status - description: "" - data_type: VARCHAR - tests: [] -- name: stg_payments - columns: - - name: payment_id - description: "" - data_type: INTEGER - tests: [] - - name: order_id - description: "" - data_type: INTEGER - tests: [] - - name: payment_method - description: "" - data_type: VARCHAR - tests: [] - - name: amount - description: "" - data_type: DOUBLE - tests: [] diff --git a/test_build/stg_customers.sql b/test_build/stg_customers.sql deleted file mode 100644 index 66c22f36b..000000000 --- a/test_build/stg_customers.sql +++ /dev/null @@ -1,27 +0,0 @@ -with - -source as ( - - select * from {{ ref('customers') }} - -), - -renamed as ( - - select - -- datetimes - first_order as first_order, - most_recent_order as most_recent_order, - - -- numbers - customer_id as customer_id, - number_of_orders as number_of_orders, - - -- text - first_name as first_name, - last_name as last_name, - - from source -) - -select * from renamed diff --git a/test_build/stg_orders.sql b/test_build/stg_orders.sql deleted file mode 100644 index c38878e5f..000000000 --- a/test_build/stg_orders.sql +++ /dev/null @@ -1,25 +0,0 @@ -with - -source as ( - - select * from {{ ref('orders') }} - -), - -renamed as ( - - select - -- datetimes - order_date as order_date, - - -- numbers - order_id as order_id, - customer_id as customer_id, - - -- text - status as status, - - from source -) - -select * from renamed diff --git a/test_build/stg_raw_customers.sql b/test_build/stg_raw_customers.sql deleted file mode 100644 index 750d897c0..000000000 --- a/test_build/stg_raw_customers.sql +++ /dev/null @@ -1,22 +0,0 @@ -with - -source as ( - - select * from {{ ref('raw_customers') }} - -), - -renamed as ( - - select - -- numbers - id as id, - - -- text - first_name as first_name, - last_name as last_name, - - from source -) - -select * from renamed diff --git a/test_build/stg_raw_orders.sql b/test_build/stg_raw_orders.sql deleted file mode 100644 index 1a7be3d1c..000000000 --- a/test_build/stg_raw_orders.sql +++ /dev/null @@ -1,25 +0,0 @@ -with - -source as ( - - select * from {{ ref('raw_orders') }} - -), - -renamed as ( - - select - -- datetimes - order_date as order_date, - - -- numbers - id as id, - user_id as user_id, - - -- text - status as status, - - from source -) - -select * from renamed diff --git a/test_build/stg_raw_payments.sql b/test_build/stg_raw_payments.sql deleted file mode 100644 index ab40e7dfa..000000000 --- a/test_build/stg_raw_payments.sql +++ /dev/null @@ -1,23 +0,0 @@ -with - -source as ( - - select * from {{ ref('raw_payments') }} - -), - -renamed as ( - - select - -- numbers - id as id, - order_id as order_id, - amount as amount, - - -- text - payment_method as payment_method, - - from source -) - -select * from renamed diff --git a/test_build/stg_stg_customers.sql b/test_build/stg_stg_customers.sql deleted file mode 100644 index 55d89f07e..000000000 --- a/test_build/stg_stg_customers.sql +++ /dev/null @@ -1,22 +0,0 @@ -with - -source as ( - - select * from {{ ref('stg_customers') }} - -), - -renamed as ( - - select - -- numbers - customer_id as customer_id, - - -- text - first_name as first_name, - last_name as last_name, - - from source -) - -select * from renamed diff --git a/test_build/stg_stg_orders.sql b/test_build/stg_stg_orders.sql deleted file mode 100644 index aae6014ff..000000000 --- a/test_build/stg_stg_orders.sql +++ /dev/null @@ -1,25 +0,0 @@ -with - -source as ( - - select * from {{ ref('stg_orders') }} - -), - -renamed as ( - - select - -- datetimes - order_date as order_date, - - -- numbers - order_id as order_id, - customer_id as customer_id, - - -- text - status as status, - - from source -) - -select * from renamed diff --git a/test_build/stg_stg_payments.sql b/test_build/stg_stg_payments.sql deleted file mode 100644 index 5b4c8ed73..000000000 --- a/test_build/stg_stg_payments.sql +++ /dev/null @@ -1,22 +0,0 @@ -with - -source as ( - - select * from {{ ref('stg_payments') }} - -), - -renamed as ( - - select - -- numbers - payment_id as payment_id, - order_id as order_id, - - -- text - payment_method as payment_method, - - from source -) - -select * from renamed