Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-11478

[R] Consider ways to make arrow.skip_nul option more user-friendly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 4.0.0
    • R

    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:

      1. Keep this all as it is
      2. Change the default option value to TRUE
      3. 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

          Activity

            People

              npr Neal Richardson
              icook Ian Cook
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h