wolffcm opened a new issue, #6367: URL: https://github.com/apache/arrow-datafusion/issues/6367
### Is your feature request related to a problem or challenge? It would be nice if predicates that look like ```sql str ~ '^$' ``` could be rewritten as ``` str = '' ``` And likewise, ```sql str !~ '^$' ``` could be rewritten as ``` str != '' ``` ### Describe the solution you'd like It would be straightforward to extend the expression simplifier to do this. ### Describe alternatives you've considered This seems pretty uncontroversial so I haven't considered any alternatives. ### Additional context This is relevant to InfluxQL support in IOx: https://github.com/influxdata/influxdb_iox/issues/6902 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
