Commits


Jeges Attila authored and GitHub committed 1938582783d
GH-41141: [C++] Reduce string inlining in Substrait serde (#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. * GitHub Issue: #41141 Authored-by: Attila Jeges <attila.jeges@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>