Skip to content

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

@sagargg-zz

Description

@sagargg-zz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions