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

[C++] Regression with compute `utf8_*trim` functions on macOS.

    XMLWordPrintableJSON

Details

    Description

      import pyarrow as pa
      import pyarrow.compute as pc
      
      arr = pa.array(["ab", "ac"])
      r = pc.utf8_ltrim(arr, characters="a")
      assert r.to_pylist() == ["b", "c"], r
      r = pc.utf8_rtrim(arr, characters="b")
      assert r.to_pylist() == ["a", "ac"], r
      

      Seems to go awry after the first match.

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              coady A. Coady
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1h
                  1h