You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "tanruixiang (via GitHub)" <gi...@apache.org> on 2023/05/30 13:40:09 UTC

[GitHub] [arrow-datafusion] tanruixiang opened a new issue, #6488: Support simplifying expressions like `~ ^(bar|foo)$'

tanruixiang opened a new issue, #6488:
URL: https://github.com/apache/arrow-datafusion/issues/6488

   ### Is your feature request related to a problem or challenge?
   
   Support simplifying expressions like  `~  ^(bar|foo)$` ,  This will help the subsequent optimizer to perform related optimizations such as predicate push-down.
   
   ` str = ~  ^(bar|foo)$`
   could be rewritten as
   `str = bar or str = foo`
   
   ### Describe the solution you'd like
   
   Optimization for regular expressions of the form  like   `^(bar|foo)$` is supported in the existing `simplify_regex_expr`. 
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb closed issue #6488: Support simplifying expressions like `~ ^(bar|foo)$`

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #6488: Support simplifying expressions like `~ ^(bar|foo)$`
URL: https://github.com/apache/arrow-datafusion/issues/6488


-- 
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