Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0
Description
In Arrow 3.0.0, the arrow.skip_nul option effectively defaults to FALSE for consistency with base::readLines and base::scan.
If the user keeps this default option value, then conversion of string data containing embedded nuls causes an error with a message like:
embedded nul in string: '\0'
If the user sets the option to TRUE, then no error occurs, but this warning is issued:
Stripping '\0' (nul) from character vector
Consider whether we should:
- Keep this all as it is
- Change the default option value to TRUE
- Keep the default option value as it is, but catch the error and re-throw it with a more actionable message that tells the user how to set the option
Attachments
Issue Links
- is related to
-
ARROW-11682 [R] Regression from 2.0.0 -> 3.0.0: Null character in string prevents dataset from loading
- Closed
- relates to
-
ARROW-6582 [R] Arrow to R fails with embedded nuls in strings
- Resolved
- links to