Hi all!
Very much starting out trying to orchestrate our dbt commands using prefect but running into a few issues. Issues in images provided - can anyone guide me on why these flows aren't working? First image - no idea why it doesn't like that comma as I've lifted that snippet from prefect-dbt github page. Second image - I'm running a task from within a flow, but it seems to this I'm running a task from within a task?
a
Aaron Gonzalez
02/24/2023, 12:55 PM
The second image:
trigger_dbt_cli_command
is a task. It's complaining because you have nested that task inside other tasks like
debug_project
,
load_seeds
, etc.
s
Shaun Fender
02/24/2023, 1:14 PM
@Aaron Gonzalez Ah right I see, that makes sense, as I had this working with no issue. Thanks!
e
Emerson Franks
02/27/2023, 5:53 PM
I could be wrong but I'm pretty sure it's treating those backslashes as escape characters. Based on the path I'm assuming Windows which I think means you need to have \\ for each backslash.
s
Shaun Fender
02/28/2023, 2:46 PM
@Emerson Franks I did realise this in the end - but now have some other error message! Thanks for your response!
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.