Skip to content

Commit

Permalink
Merge pull request #112 from T-Dunlap/td_demo_TMobile
Browse files Browse the repository at this point in the history
installing packages and fixing old versions
  • Loading branch information
T-Dunlap authored Jan 17, 2024
2 parents 428b35f + a607606 commit 4c6d45f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion models/marts/core/fct_orders.sql
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ order_item_summary as (
final as (

select
{{ dbt_utils.surrogate_key(['orders.order_key', 'orders.order_date','orders.customer_key']) }} as order_sk,
{{ dbt_utils.generate_surrogate_key(['orders.order_key', 'orders.order_date','orders.customer_key']) }} as order_sk,
orders.order_key,
orders.order_date,
orders.customer_key,
Expand Down
2 changes: 1 addition & 1 deletion models/staging/tpch/stg_tpch_line_items.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ renamed as (

select

{{ dbt_utils.surrogate_key(
{{ dbt_utils.generate_surrogate_key(
['l_orderkey',
'l_linenumber']) }}
as order_item_key,
Expand Down
2 changes: 1 addition & 1 deletion models/staging/tpch/stg_tpch_part_suppliers.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ renamed as (

select

{{ dbt_utils.surrogate_key(
{{ dbt_utils.generate_surrogate_key(
['ps_partkey',
'ps_suppkey']) }}
as part_supplier_key,
Expand Down
12 changes: 7 additions & 5 deletions packages.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
packages:
- package: dbt-labs/codegen
version: 0.6.0
version: 0.12.1
- package: dbt-labs/dbt_utils
version: 0.8.6
version: 1.1.1
- package: dbt-labs/dbt_external_tables
version: 0.8.0
version: 0.8.7
- package: tnightengale/dbt_meta_testing
version: 0.3.5
version: 0.3.6
- package: brooklyn-data/dbt_artifacts
version: 1.1.2
version: 2.6.2
- package: dbt-labs/audit_helper
version: 0.9.0

0 comments on commit 4c6d45f

Please sign in to comment.