Skip to content
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

07_deploy_task_dag.py DAG dependency issue #1

Open
alykuna opened this issue Feb 9, 2024 · 1 comment
Open

07_deploy_task_dag.py DAG dependency issue #1

alykuna opened this issue Feb 9, 2024 · 1 comment

Comments

@alykuna
Copy link

alykuna commented Feb 9, 2024

This appears to be backwards:
image
It creates a DAG graph where 1 and 2 are dependent on task3

Note Snowflake docs :

. . .
  dag_task2 = DAGTask(
    StoredProcedureCall(
      dosomething, stage_location="@mystage",
      packages=["snowflake-snowpark-python"]
    ),
    warehouse="test_warehouse"
  )
# Shift right and left operators can specify task relationships.
dag_task1 >> dag_task2  # dag_task1 is a predecessor of dag_task2
. . .

Apologies if I've done anything incorrect in here. This is my first :D

@alykuna
Copy link
Author

alykuna commented Feb 9, 2024

happy to try a PR for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant