-
Notifications
You must be signed in to change notification settings - Fork 920
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
[BUG] cuio: reader/writer tests do not verify file contents, only isomorphism. #6222
Comments
Is this issue about the use of |
No, this issue is about:
|
I don't think we have a way to test this in C++ tests. |
Pretty sure that's accurate. It's technically possible to test them in c++, but it's very inconvenient because we'd need sample files and associated expected data. It'll definitely be easier to test on the python layer. It's possible we account for these cases in python tests already, but imho we should check python's tests before closing this issue. |
This issue has been marked rotten due to no recent activity in the past 90d. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. |
Describe the bug
Reader and writer tests have the potential to pass erroneously if the readers/writers change in a way that maintains isomorphism, regardless of whether the written contents contain the correct contents. Unlikely, but possible.
Expected behavior
Examples:
cudf/cpp/tests/io/csv_test.cpp
Lines 902 to 911 in 2bc8eb0
cudf/cpp/tests/io/orc_test.cpp
Lines 165 to 173 in 2bc8eb0
cudf/cpp/tests/io/parquet_test.cpp
Lines 191 to 200 in 2bc8eb0
The text was updated successfully, but these errors were encountered: