-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[daggy-u] [dbt] - Lesson 4, fetch your run artifacts #19968
[daggy-u] [dbt] - Lesson 4, fetch your run artifacts #19968
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite. Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
d854863
to
69ee496
Compare
41c1df3
to
b8ec5c7
Compare
Deploy preview for dagster-university ready! ✅ Preview Built with commit a1ff875. |
@@ -0,0 +1,53 @@ | |||
--- | |||
title: 'Lesson 4: Customizing your execution' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we make this title specific, like "Customizing dbt's execution"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I get what you're saying and I think this could be worded better, but to nit pick it to the utmost extent, we aren't customizing how dbt runs, but rather what happens within Dagster after dbt runs. wdyt?
context.log.debug(result["compiled_code"]) | ||
``` | ||
|
||
Once you've made these changes, restart your code location and run any of your dbt models. You should see the compiled SQL code for each model in the logs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
restart your code location
Specifically, kill dagster dev
and then re-run, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's one of the ways! The preferred ways would be either pressing the Reload Definitions
button or pressing Option+Shift+R
Summary & Motivation
Making this a separate PR that folds into the larger LEsson 4 PR so I don't ruin your great writing with my dirty cruft.
How I Tested These Changes