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

Consider re-visiting display of frictionless errors on Import #1041

Open
ghost opened this issue Oct 29, 2020 · 0 comments
Open

Consider re-visiting display of frictionless errors on Import #1041

ghost opened this issue Oct 29, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 29, 2020

Given that an incorrect format / or there is an error with the schema format chosen, when a user tries to say, "Import Column Properties", they get an error (see screenshot below) to visit the frictionless schema.
At the time, given that the errors returned by frictionless were possibly difficult to interpret for a user, it was thought better to just give a link to frictionless and only report the error.
Following Issue #1039, it might be worth:

  1. Since frictionless libraries have since made a number of changes, it may be worth re-visiting to see if the error messages from frictionless can be parsed in a way to provide a hint to where the error might be.
  2. Knowing that there are certain expectations for the 'root'-level name (e.g., for "Import Column Properties" and that the format should be JSON, we can perhaps provide a couple more types of error messages, in attempt to cover most probable use cases for those unfamiliar with frictionless, to help with these hints.
  3. Is there a use case for, a certain type of error (say the frictionless schema is 'mostly' correct), where the schema can still be imported (kindofa 'lenient' vs 'strict' option) to enable users to 'massage' the schema or for Data Curator to complete it using 'Guess'? Not sure this is practical, but just raised here in case a use case for this comes through.
    image
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

0 participants