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

Datastore upload dag failing when field name have extra white space on the schema. #111

Open
sagargg-zz opened this issue Jul 6, 2021 · 0 comments

Comments

@sagargg-zz
Copy link
Contributor

api_ckan_load_multiple_nodes dag failed when the schema fieldname has extra white space at end of name.

Steps to reproduce:

  1. Setup ckan instance with ckanext-blob-storage, ckanext-aircan extensions.
  2. Upload CSV file with extra space on the column header. eg. 'Field_Name '
  3. check the airflow task create_datastore_table_task log, you will see the validation errors even tasks marked as successful.

Possible fix

check and remove whitespace from the schema field name on datapub while creating/generating a schema information

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