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

[C++] Add string padding option to determine which side the extra space goes on

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0
    • C++

    Description

      I'm trying to implement R bindings for the compute function "utf8_center" but in cases where there are an odd number of spaces in total, the extra space is added to the left.  However, in R, the extra space is added to the right.

      Please can we have another string pad option to determine which side the extra space goes, so I can make the functionality match?

      Attachments

        Issue Links

          Activity

            People

              lidavidm David Li
              thisisnic Nicola Crane
              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 - 0.5h
                  0.5h