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

Fix a JNI bug in JSON parsing fixup #15550

Merged
merged 4 commits into from
Apr 26, 2024

Conversation

revans2
Copy link
Contributor

@revans2 revans2 commented Apr 17, 2024

Description

When parsing JSON in the current code if no columns can be parsed out of the data, then an empty table is returned. Earlier we put in a work around to this so that we could pass in the number of rows needed and the JSON parsing code would make a table of null values for it. This had some issues with structs and lists which needed an extended way to produce the null scalar. This adds in code to do just that.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

Signed-off-by: Robert (Bobby) Evans <[email protected]>
@revans2 revans2 requested a review from a team as a code owner April 17, 2024 13:37
@github-actions github-actions bot added the Java Affects Java cuDF API. label Apr 17, 2024
@revans2 revans2 added bug Something isn't working 3 - Ready for Review Ready for review by team non-breaking Non-breaking change labels Apr 17, 2024
java/src/main/java/ai/rapids/cudf/Table.java Outdated Show resolved Hide resolved
java/src/main/java/ai/rapids/cudf/Table.java Outdated Show resolved Hide resolved
java/src/main/java/ai/rapids/cudf/Table.java Outdated Show resolved Hide resolved
@revans2
Copy link
Contributor Author

revans2 commented Apr 19, 2024

/merge

@rapids-bot rapids-bot bot merged commit c62c5f6 into rapidsai:branch-24.06 Apr 26, 2024
69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team bug Something isn't working Java Affects Java cuDF API. non-breaking Non-breaking change
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants