You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nit: a function to create this Status taking arguments like "integer literal" and "UInt64Value" would reduce the string literal bloat in the binary because "Failed to unpack user defined " wouldn't have to be inlined so many times in the literals.
Adding ARROW_PREDICT_FALSE to the condition would also reduce the inlining of code in the block because it becomes cold code code for the compiler.
These changes could be done throughout the file to improve the performance of the Substrait serde.
Component(s)
C++
The text was updated successfully, but these errors were encountered:
Rationale for this change:
This patch adds a helper function to create similarly formatted
Status instances 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.
Describe the enhancement requested
Comment from review of #40696
These changes could be done throughout the file to improve the performance of the Substrait serde.
Component(s)
C++
The text was updated successfully, but these errors were encountered: