question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"schema" cannot be used in the name of schema files

See original GitHub issue

My input is

fieldA,fieldB
a,1
b,2

If I run frictionless describe input.csv --yaml >input.schema.yaml and then frictionless validate input.schema.yaml, I have this error:

# -------
# invalid: input.schema.yaml
# -------
============  =====================================================================================================
code          message
============  =====================================================================================================
schema-error  Schema is not valid: "'fields' is a required property" at "" in metadata and at "required" in profile
============  =====================================================================================================

If I rename input.schema.yaml in input.scema.yaml I have no error


Please preserve this line to notify @roll (lead of this repository)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rollcommented, May 4, 2021

Thanks. I’ve added a paragraph to https://framework.frictionlessdata.io/docs/guides/describing-data#describe-functions (will have been deployed in a minute)

1reaction
lwinfreecommented, May 3, 2021

Oh this is a great error to discover!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I resolve issues with missing or incorrect schema ...
I have run into various cases where errors are occurring related to the DatabaseSchemaVersion property in the LSW_SYSTEM_SCHEMA table for the BPM and...
Read more >
Understanding schema errors
Schema errors prevent the validation being run in full because the file cannot be read. This means that errors cannot be traced to...
Read more >
Visual Studio Database project, Schema in file name not ...
I'm creating a new database project of Adventure Works (Just as a test for myself) and the Schema names don't seem to be...
Read more >
User Can Only Access Tables Using Schema Name
To select data from a table you do not own, specify schema.table, where schema is the name of the user that owns the...
Read more >
Specifying a schema | BigQuery
Manually specifying schemas; Specifying a JSON schema file. Creating a JSON schema file ... A column name cannot use any of the following...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found