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

Add ability to debug dump input data only on errors #8970

Merged
merged 3 commits into from
Aug 11, 2023

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Aug 9, 2023

Fixes #6964, #8672.

This changes the default semantics of the debug dump prefix configs to only dump the data on an exception. Dumping on every read is still possible by setting a new dumpAlways config to true, but it defaults to false. This is because for most situations, we're interested only in dumping the data that lead to a read error in libcudf.

This also updates the read exception to use the input splits specified for the read so the exception shows which files were trying to be read when the error occurred.

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
@jlowe jlowe self-assigned this Aug 9, 2023
@jlowe
Copy link
Member Author

jlowe commented Aug 9, 2023

build

@sameerz sameerz added the feature request New feature or request label Aug 9, 2023
abellina
abellina previously approved these changes Aug 9, 2023
Copy link
Collaborator

@abellina abellina left a comment

Choose a reason for hiding this comment

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

This looks good to me

@jlowe
Copy link
Member Author

jlowe commented Aug 9, 2023

build

@jlowe jlowe merged commit b0e78f2 into NVIDIA:branch-23.10 Aug 11, 2023
27 checks passed
@jlowe jlowe deleted the reader-debug branch August 11, 2023 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] scans should log what file(s) caused an exception in cuDF
3 participants