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

LOAD DATASET on data with no schema produces an unhelpful error message. #313

Open
okennedy opened this issue Feb 16, 2024 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers layer-api An issue involving the vizier API layer
Milestone

Comments

@okennedy
Copy link
Contributor

What pain point is this feature intended to address? Please describe.
When importing JSON data, if schema inference fails, an unhelpful error message appears.

Vizier tries to get the corrupted records field out of the JSON data, but if schema inference fails, it's the ONLY field being exported. Spark does not allow queries over ONLY the corrupted record field, so we get an error message about that

Describe the solution you'd like
It would be more helpful to get an error message to the effect of 'your JSON data is bogus, and I can't infer a schema... maybe try turning on multiline imports?'

@okennedy okennedy added enhancement New feature or request layer-api An issue involving the vizier API layer labels Feb 16, 2024
@okennedy okennedy added this to the Version 2.1 milestone Feb 16, 2024
@okennedy okennedy added the good first issue Good for newcomers label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers layer-api An issue involving the vizier API layer
Projects
None yet
Development

No branches or pull requests

1 participant