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

More concise error message when possible record_length mismatch #688

Merged
merged 4 commits into from
Aug 23, 2023

Conversation

al-niessner
Copy link
Contributor

🗒️ Summary

In the condition of tables with fixed record lengths and not enough data to fill all of the fields and record delimiter, then have one error and move onto next data object rather than the current 50000+ errors that now show for even the smallest of tables.

⚙️ Test Data and/or Report

See automated unit tests below

♻️ Related Issues

Closes #680

Al Niessner added 2 commits August 22, 2023 10:27
Rather than display 50000+ error messages when the record length is too small, just print one message then continue
@jordanpadams jordanpadams changed the title 680: more concise error message when not enough data More concise error message when possible record_length mismatch Aug 23, 2023
Copy link
Member

@nutjob4life nutjob4life left a comment

Choose a reason for hiding this comment

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

👍

@jordanpadams jordanpadams merged commit 7c64980 into main Aug 23, 2023
2 checks passed
@jordanpadams jordanpadams deleted the issue_680 branch August 23, 2023 21:08
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.

validate does not correctly diagnose errors in the record_length value for fixed width Table_Character objects
3 participants