Skip to content

Improved validation error handling#89

Merged
tschaub merged 2 commits intomainfrom
updates
Oct 4, 2023
Merged

Improved validation error handling#89
tschaub merged 2 commits intomainfrom
updates

Conversation

@tschaub
Copy link
Copy Markdown
Member

@tschaub tschaub commented Oct 4, 2023

Previously, if the "crs" property in the geo metadata was not the expected type (an object), the validate command would fail with a bad error message (see #86). This change makes it so an unexpected "crs" type is a fatal error, so additional rules that require valid metadata are not run.

In addition, this change updates the describe output so it includes some hints about what to do if the geo metadata is present but looks invalid. The new --metadata-only flag for the describe command can be used to dump the geo metadata without trying to parse it.

Fixes #86.

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

Successfully merging this pull request may close these issues.

Error when doing describe / validate with non-geo parquet file

1 participant