-
we have a definition:
and have tried implementing operations in a few ways below: OpA
OpB
When executing the jobs on our instance we can see logs like this:
But the actual refresh of the external sources doesn't occur on the database. If you can provide a block example of how run-operation, or really any other non @dbt_asset decorated function that calls a dbt function should be defined, it would be helpful - thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
joining the question |
Beta Was this translation helpful? Give feedback.
-
Hi @Iuke - if you run the same command yourself locally via the dbt cli command directly, leaving dagster out of the picture, does it do the operation that you expect? |
Beta Was this translation helpful? Give feedback.
-
Note that So instead of:
Try:
|
Beta Was this translation helpful? Give feedback.
My teammate @emilee-jurkowski found this related issue and implemented your method and added the out arg.
I would encourage other people who stumble across this discussion to explore different out returns if you need some logging but I think this is good enough for what we need.