nealrichardson commented on pull request #8365: URL: https://github.com/apache/arrow/pull/8365#issuecomment-718021849
Arguably failing is better than silently truncating, but that puts us back at the original user report. I see our options as: 1. Do nothing in the code; document a workflow of casting the `utf8` column to `binary`, then stripping out the `00`s yourself in R 2. In arrow_to_vector, if a nul is hit, downcast to binary and proceed with conversion (raise a warning instead of erroring) 3. Add a `skipNul`-like option (cf. https://stat.ethz.ch/R-manual/R-devel/library/base/html/readLines.html and others) and strip nulls if they're hit, raising a warning but keeping the result as a character vector. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
