-
Notifications
You must be signed in to change notification settings - Fork 7
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
Local airflow with load code working against CKAN - API DAG #4
Comments
As mentioned this could be local or remote CKAN - there's really very little difference I think. May be actually easier initially to run against demo.ckan.org. Added responses to comments. |
@rufuspollock sorry, maybe I misunderstood some things. In datapuhser, we set the local url and the site_url. I thought we could use these HttpOperators from airflow to emulate datapuhser. |
See #7 (WIP and draft) |
Q: CKAN question: Am I not allowed to send this json I get a 400 from CKAN: {"help": "https://demo.ckan.org/api/3/action/help_show?name=datastore_create", "success": false, "error": {"data": {"fields": ["name", "type"], "force": "True", "resource_id": "test1111"}, "message": "Only lists of dicts can be placed against subschema ('fields',), not <type 'list'>", "__type": "Integrity Error"}} |
Build a DAG that loads a file to CKAN ( remote demo.ckan) using API only
Acceptance
Tasks
Check https://gitlab.com/datopian/tech/data-loader-next-gen/-/blob/master/data_loader/load.py
Copy over relevant parts (+ tests) into local
/lib/
folderCreate appropriate airflow tasks + DAG using this lib methods: ~rufus debatable if this is worth it
Is there any retry policy? ~rufus on what conditions. Prob not for now
Analysis
The text was updated successfully, but these errors were encountered: