Skip to content

Commit

Permalink
updated AssetKey to location
Browse files Browse the repository at this point in the history
  • Loading branch information
izzye84 committed Dec 12, 2023
1 parent fb4fd15 commit b878acb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dbt_project/models/sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sources:
- name: "location"
meta:
dagster:
asset_key: ['raw_location']
asset_key: ['location']
- name: "FORECASTING"
tables:
- name: "predicted_orders"
2 changes: 1 addition & 1 deletion hooli-demo-assets/hooli_demo_assets/assets/sling.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


raw_location = build_sling_asset(
asset_spec=AssetSpec(key=["raw_location"]),
asset_spec=AssetSpec(key=["location"]),
source_stream="s3://hooli-demo/embedded-elt/",
target_object= "RAW_DATA.LOCATION",
mode=SlingMode.FULL_REFRESH,
Expand Down
2 changes: 1 addition & 1 deletion hooli-demo-assets/hooli_demo_assets/jobs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from dagster import AssetSelection, define_asset_job

raw_location_by_day = AssetSelection.keys(["RAW_DATA", "raw_location"])
raw_location_by_day = AssetSelection.keys(["RAW_DATA", "location"])

daily_sling_job = define_asset_job(
name="daily_sling_job",
Expand Down

0 comments on commit b878acb

Please sign in to comment.