xhochy commented on a change in pull request #7656:
URL: https://github.com/apache/arrow/pull/7656#discussion_r451399213
##########
File path: cpp/src/arrow/compute/kernels/scalar_string.cc
##########
@@ -183,6 +188,53 @@ struct UTF8Transform {
}
};
+template <typename StringType, typename Derived>
+struct BinaryToBoolean {
Review comment:
It's on the same level of readability. There is the complication that
`BinaryContainsExact` needs options but that will be the same with `startswith`
or the regex version (or the case-insensitve one).
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]