-
Notifications
You must be signed in to change notification settings - Fork 907
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 write_json failure for zero columns in table/struct #17414
Fix write_json failure for zero columns in table/struct #17414
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One expression could be simplified, otherwise LGTM.
cpp/src/io/json/write_json.cu
Outdated
scatter_fn); | ||
} else { | ||
thrust::for_each( | ||
rmm::exec_policy(stream), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we do nosync here? (maybe in the other branch as well)
rmm::exec_policy(stream), | |
rmm::exec_policy_nosync(stream), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed this early. The entire file could use nosync update. Created PR #17445
/merge |
Description
Closes #17413
num_rows are passed to ensure empty
{}
is created for zero columns.Checklist