Hi I have 2 ops one to extract and another is to l...
# ask-community
m
Hi I have 2 ops one to extract and another is to load, I am including this 2 ops in one job, so my expectation is to run first the extract op and then if it is success then run the load op, how could I achieve this? currently it is running 2 ops parellely
z
You'll need to declare the dependency in your job or graph: https://docs.dagster.io/concepts/ops-jobs-graphs/jobs-graphs#linear-dependencies if the load op isn't expecting an input to be received from the extract op, you'll probably need to use order-based dependencies:(https://docs.dagster.io/concepts/ops-jobs-graphs/jobs-graphs#linear-dependencies)