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

Loading file with capital letters #197

Open
gperonato opened this issue Nov 11, 2020 · 2 comments
Open

Loading file with capital letters #197

gperonato opened this issue Nov 11, 2020 · 2 comments

Comments

@gperonato
Copy link
Contributor

gperonato commented Nov 11, 2020

When loading a file containing capital letters, an error is raised, as there is a validation problem. I have tried to correct this with update_package and update_resource, but the same error occurs when the first processor is called.
Is there a way to change this behavior? I cannot change the name of an online dataset.
The same dataset does not cause any error in dataflows.
Thanks,
Giuseppe

Python 3.82
MacOs 10.15.7

@akariv
Copy link
Member

akariv commented Nov 11, 2020 via email

@gperonato
Copy link
Contributor Author

Hi Adam,
yes sorry, I meant uppercase letters, which do not match the validation '^([-a-z0-9._/])+$'.
Here is my pipeline-spec with the link to the source file:

JRC_GEOPP_DB_3:
  pipeline:
  - run: load
    parameters:
      from: http://cidportal.jrc.ec.europa.eu/ftp/jrc-opendata/JRCOD/RES-DATA/10001/LATEST/JRC-GEOPP-DB.csv
  - run: dump.to_path
    parameters:
      out-path: JRC_GEOPP_DB

Thank you,
Giuseppe

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

2 participants