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

fix wrong error variable used #4206

Merged
merged 3 commits into from Aug 30, 2022
Merged

fix wrong error variable used #4206

merged 3 commits into from Aug 30, 2022

Conversation

jennifersp
Copy link
Contributor

No description provided.

Copy link
Sponsor Contributor

@timsehn timsehn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we have a bats test with a bad parquet file to catch things like this in the future?

@jennifersp
Copy link
Contributor Author

Ah yes, I'm not sure how to generate bad parquet file. What I was thinking is to either add skipped or error asserted test on importing Apache Arrow generated parquet file for now, and eventually migrate to its parquet go library.

@timsehn
Copy link
Sponsor Contributor

timsehn commented Aug 29, 2022

I bet if you made a text file that had "This is a bad parquet file", it would catch most errors :-)

Copy link
Contributor

@fulghum fulghum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jennifersp jennifersp merged commit eba3d64 into main Aug 30, 2022
@jennifersp jennifersp deleted the jennifer/err branch August 30, 2022 16:51
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.

None yet

3 participants