You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/08/14 09:26:47 UTC
[GitHub] [arrow-datafusion] Dandandan commented on a change in pull request #870: Add support for PostgreSQL regex match
Dandandan commented on a change in pull request #870:
URL: https://github.com/apache/arrow-datafusion/pull/870#discussion_r688906891
##########
File path: datafusion/src/physical_plan/expressions/binary.rs
##########
@@ -339,6 +340,63 @@ macro_rules! boolean_op {
}};
}
+/// Invoke a regexp_match kernel on a pair of arrays
+macro_rules! regexp_match_op {
+ ($LEFT:expr, $RIGHT:expr, $NOT:expr, $CASE:expr) => {{
+ match $LEFT.data_type() {
+ DataType::Utf8 => {
Review comment:
`LargeUtf8`/`StringArray` would be nice to suport too I think.
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org