attilajeges opened a new pull request, #45174: URL: https://github.com/apache/arrow/pull/45174
### Rationale for this change This patch adds a helper function to create Status instances with similarly formatted messages in order to reduce the string literal bloat in the binary. ### What changes are included in this PR? Helper function UserDefinedLiteralToArrow::FailedToUnpack. Also added ARROW_PREDICT_FALSE to conditions before calling the function. ### Are these changes tested? No. Normally there are no tests to verify specific Status messages. ### Are there any user-facing changes? No. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org