vibhatha opened a new pull request, #36266: URL: https://github.com/apache/arrow/pull/36266
### Rationale for this change This PR fixes an already filed issue which has been evaluated as a bug. ### What changes are included in this PR? This PR includes a minor change to a the logic in `scalar_cast_string.cc`. ### Are these changes tested? I have added a Python test to evaluate the user's issue and replicated the bug. And the test case I have added test it parametricly. Also I tested existing C++ tets. ### Are there any user-facing changes? Issue filed by a user: https://github.com/apache/arrow/issues/35901 -- 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]
