iabhi4 opened a new pull request, #46815: URL: https://github.com/apache/arrow/pull/46815
### What does this PR do? Adds a new compute kernel `utf8_zfill` to Arrow Compute module. This kernel zero-pads UTF-8 strings while preserving leading signs. ### Why is it needed? Python's `str.zfill()` behavior is useful and expected in many data cleaning scenarios. Arrow lacked a direct equivalent. ### Implementation details - Adds `Utf8ZFillTransform` - Registers the function in the compute kernel registry - Adds support to Python bindings and tests - Includes sign-aware padding logic ### Are these changes tested? - C++ unit tests: `TestStringKernels, Utf8ZFill` - Python tests: `test_utf8_zfill()` Ran both tests -- 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]
