-
Notifications
You must be signed in to change notification settings - Fork 65
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
Improve from_json_to_raw_map
#2562
base: branch-24.12
Are you sure you want to change the base?
Conversation
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
Signed-off-by: Nghia Truong <[email protected]>
std::unique_ptr<cudf::column> const& extracted_keys, | ||
std::unique_ptr<cudf::column> const& extracted_values, | ||
rmm::cuda_stream_view stream) | ||
{ | ||
auto const keys_child = extracted_keys->child(cudf::strings_column_view::chars_column_index); | ||
if (extracted_keys->size() == 0) { | ||
std::cerr << "Extract keys-values are all empty.\n" << std::endl; |
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 think we need to delete this.
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.
This is debug code to help me figure out what's going on with the intermediate results. It will not be compiled into production.
# Conflicts: # src/main/cpp/src/json_utils.hpp
Signed-off-by: Nghia Truong <[email protected]>
build |
Need to add more integration tests to spark-rapids to verify before merging this. |
Signed-off-by: Nghia Truong <[email protected]>
This reverts commit 22040d3.
Signed-off-by: Nghia Truong <[email protected]>
This adds a couple of missing functionalities to
from_json_to_raw_map
, which is the backend offrom_json
withmap<string, string>
schema:Depends on:
concat_json
#2557Closes:
from_json
to Map type should produce null for invalid entries spark-rapids#9592from_json_to_raw_map
does not support single quotes #2563RECOVER_WITH_NULL
when parsing JSON infrom_json_to_raw_map
#2553