Enable returning string data from UDFs used through apply - #11933
Conversation
Codecov ReportBase: 87.47% // Head: 88.10% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## branch-22.12 #11933 +/- ##
================================================
+ Coverage 87.47% 88.10% +0.62%
================================================
Files 133 135 +2
Lines 21826 22057 +231
================================================
+ Hits 19093 19433 +340
+ Misses 2733 2624 -109
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
@brandon-b-miller I'm going to convert this to a draft until the upstream PR is merged. |
|
One significant change in #11912 is that the |
got it- going to merge the latest from #11912 now and work towards passing tests here. |
…_array->column_to_string_view_array
vyasr
left a comment
There was a problem hiding this comment.
I love the small changeset! I only have small suggestions, I don't think there's any major changes to make.
Co-authored-by: Vyas Ramasubramani <vyas.ramasubramani@gmail.com>
|
@brandon-b-miller Before merging, can you write a description for this PR? |
|
rerun tests |
|
@gpucibot merge |
This PR introduces the ability to return a string from a UDF used through
DataFrame.applyorSeries.apply. It provides all of the plumbing needed to run the functionlambda st: return st, but does not provide any APIs that return strings such asstriporupper- these will be added in a series of followups. A cast fromstring_viewtoudf_stringis provided that numba will call when attempting to return astring_viewinto audf_stringarray.