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

datapacke table names are not allowed to contain "-" #21

Open
mwallschlaeger opened this issue Nov 25, 2024 · 0 comments
Open

datapacke table names are not allowed to contain "-" #21

mwallschlaeger opened this issue Nov 25, 2024 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@mwallschlaeger
Copy link

When uploading a datapackage.zip inside the containing datapackage.json table names are not allowed to contain "-" like:

      "name": "mpanda_data-set_anonymized_s16",
      "type": "table",
      "path": "Mpanda_Data_set_anonymized_S16.csv",
      "scheme": "file",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "dialect": {
        "csv": {
          "delimiter": ";"
        }
      },
      "schema": {
        "fields": [
          {

this will lead to following error in execution request response;

"Task: importer.publish_resource raised an error during actions for layer: import: Failed to find layer 'mpanda_data-set_anonymized_s16 on datasource '/mnt/volumes/statics/uploaded/tmpmkdx7jw0/Mpanda_Data_set_anonymized_S16.csv'.. Request: b5359585-597b-47f1-868c-393f51e39e29", 

instead use e.g. underscore:

      "name": "mpanda_data_set_anonymized_s16",
      "type": "table",
      "path": "Mpanda_Data_set_anonymized_S16.csv",
      "scheme": "file",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "dialect": {
        "csv": {
          "delimiter": ";"
        }
      },
      "schema": {
        "fields": [
          {
@mwallschlaeger mwallschlaeger added bug Something isn't working documentation Improvements or additions to documentation labels Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant