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

disable array of arrays for recovery with null #17030

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cpp/src/io/json/json_column.cu
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,10 @@ table_with_metadata device_parse_nested_json(device_span<SymbolT const> d_input,
#endif

bool const is_array_of_arrays = [&]() {
// array of arrays not supported because null is always a struct in this mode
if (options.recovery_mode() == cudf::io::json_recovery_mode_t::RECOVER_WITH_NULL) {
return false;
}
auto const size_to_copy = std::min(size_t{2}, gpu_tree.node_categories.size());
if (size_to_copy == 0) return false;
auto const h_node_categories = cudf::detail::make_host_vector_sync(
Expand Down
Loading