Skip to content

Commit 6788890

Browse files
authored
Merge pull request #105 from dpguthrie/feat/add-clerk-name
adding clerk_name to fct_orders model
2 parents 3cf4347 + ec3844f commit 6788890

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/lint_sql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: sqlfluff with reviewdog
22
on:
33
workflow_dispatch:
4-
pull_request:
4+
# pull_request:
55
jobs:
66
test-check:
77
name: runner / sqlfluff (github-check)

.github/workflows/pre_commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
output: ' '
2424

2525
- name: Install pre-commit
26-
run: python -m pip install dbt-snowflake pre-commit
26+
run: python -m pip install "dbt-snowflake<1.4.0" pre-commit
2727

2828
- name: Run pre-commit model checks
2929
env:

models/marts/core/fct_orders.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ final as (
3838
orders.status_code,
3939
orders.priority_code,
4040
orders.ship_priority,
41-
--
42-
1 as order_count,
41+
orders.clerk_name,
42+
1 as order_count,
4343
order_item_summary.gross_item_sales_amount,
4444
order_item_summary.item_discount_amount,
4545
order_item_summary.item_tax_amount,

0 commit comments

Comments
 (0)