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

Send parameters to a DAG on GCP #31

Closed
5 tasks done
hannelita opened this issue Jun 22, 2020 · 2 comments
Closed
5 tasks done

Send parameters to a DAG on GCP #31

hannelita opened this issue Jun 22, 2020 · 2 comments
Assignees

Comments

@hannelita
Copy link
Contributor

hannelita commented Jun 22, 2020

Our DAGs require parameters and it looks like Google Cloud Composer does not support them with its interface. We'll have to investigate possible ways to send parameters to our DAG (CKAN resource ID, input csv, output JSON)

Acceptance

  • Run DAG with parameters

Tasks

@hannelita hannelita mentioned this issue Jun 22, 2020
9 tasks
@hannelita hannelita added this to the Sprint - 6 July 2020 milestone Jun 22, 2020
@hannelita
Copy link
Contributor Author

Replacing the kwargs call allows a local trigger to work correctly:

airflow trigger_dag ckan_api_load_single_step --conf='{ "resource_id": "e82bfcaa...", "schema_fields_array": [ "FID", "Mkt-RF", "SMB", "HML", "RF" ], "csv_input": "path/to.csv", "json_output": "/path/to.json" }'

@hannelita hannelita self-assigned this Jun 24, 2020
@hannelita
Copy link
Contributor Author

FIXED - PRs #36 and #38 resolve this issue

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