pitrou commented on issue #46683:
URL: https://github.com/apache/arrow/issues/46683#issuecomment-2943022382

   Yes, we could add a dedicated `utf8_zfill` kernel. It shouldn't be too 
difficult to do so if you have C++ skills.
   The `utf8_lpad` function is defined here: 
https://github.com/apache/arrow/blob/main/cpp/src/arrow/compute/kernels/scalar_string_utf8.cc#L897
   The `ascii_lpad` function, correspondingly, is defined here: 
https://github.com/apache/arrow/blob/main/cpp/src/arrow/compute/kernels/scalar_string_ascii.cc#L1112


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to