mirror of
https://gitlab.com/cief-data/dbt_cloud.git
synced 2026-08-29 01:04:16 +00:00
spacing readjust
This commit is contained in:
@@ -20,23 +20,22 @@ status AS (
|
||||
WHERE category = 'DEFAULT'
|
||||
),
|
||||
|
||||
|
||||
-- LOGIC
|
||||
transactions_generate_transaction_log_id AS (
|
||||
SELECT
|
||||
MD5_NUMBER_LOWER64(CONCAT(transactions.transaction_id, transactions.created_datetime)) AS transaction_log_id,
|
||||
MD5_NUMBER_LOWER64(CONCAT(transaction_id, created_datetime)) AS transaction_log_id,
|
||||
*
|
||||
|
||||
FROM transactions
|
||||
),
|
||||
|
||||
|
||||
transaction_arch_logs_union_transactions AS (
|
||||
SELECT * FROM transactions_generate_transaction_log_id
|
||||
UNION
|
||||
SELECT * FROM transaction_arch_logs
|
||||
),
|
||||
|
||||
|
||||
union_transaction_rename_column_and_column_value AS (
|
||||
|
||||
SELECT
|
||||
@@ -96,6 +95,7 @@ union_transaction_rename_column_and_column_value AS (
|
||||
transaction_arch_logs_union_transactions.transaction_type = '3' --BILL
|
||||
),
|
||||
|
||||
|
||||
-- FINAL
|
||||
final__stg_exchange__transaction_log_costs AS (
|
||||
|
||||
|
||||
Reference in New Issue
Block a user