-
Notifications
You must be signed in to change notification settings - Fork 914
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] \n is not considered whitespace when tokenizing JSON #16915
Comments
Thank you for sharing the bug report, @revans2. To clarify, are you setting the delimiter to |
Opened #16923 to fix this bug. |
I set the delimiter to the nul character. |
…ith non-newline delimiter (#16923) Addresses #16915 Authors: - Shruti Shivakumar (https://github.com/shrshi) Approvers: - Basit Ayantunde (https://github.com/lamarrr) - Karthikeyan (https://github.com/karthikeyann) - Vukasin Milovanovic (https://github.com/vuule) URL: #16923
…ith non-newline delimiter (rapidsai#16923) Addresses rapidsai#16915 Authors: - Shruti Shivakumar (https://github.com/shrshi) Approvers: - Basit Ayantunde (https://github.com/lamarrr) - Karthikeyan (https://github.com/karthikeyann) - Vukasin Milovanovic (https://github.com/vuule) URL: rapidsai#16923
Can this be closed, given that #16923 is merged? |
I believe this can be closed. @revans2 please feel free to re-open if any further issues are encountered. |
Describe the bug
CUDF support setting a line delimiter when parsing/tokenizing JSON. But it appears that \r is not considered to be valid white space at least not if json lines parsing is enabled.
Steps/Code to reproduce bug
I need to do some more work to get a repo case in C++. But if I try to parse/tokenize JSON with
with the delimiter set to 0, I get back a null indicating that the data is invalid. But if I put the value in quotes
it is parsed as expected.
Expected behavior
according to the json spec white space include \n, but it does not appear to be treating it that way.
The text was updated successfully, but these errors were encountered: