-
Notifications
You must be signed in to change notification settings - Fork 933
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] A data buffer is cast into a type with a different layout #5916
Comments
@vuule can you add a link to the problem code? |
in
In the Parquet reader: cudf/cpp/src/io/parquet/reader_impl.cu Line 673 in b773c9e
and then in page decode there are a few lines like this one: cudf/cpp/src/io/parquet/page_dict.cu Line 203 in ef1629c
|
Can this be remedied by the suggestion in #5682 . Essentially doing away with |
Thanks @devavret . Assigned to you since the other issue is already on you. |
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. |
Issue still relevant. |
This was resolved in #7841 |
A device array containing objects of type
thrust::pair<const char*, size_type>
is cast tonvstrdesc_s
usingreinterpret_cast
. These two types are not guaranteed to have the same memory layout.The code works, but it's not guaranteed to work correctly on all compilers/platforms.
Observed the issue in ORC and Parquet readers.
The text was updated successfully, but these errors were encountered: