richtia opened a new issue, #10861:
URL: https://github.com/apache/datafusion/issues/10861

   ### Is your feature request related to a problem or challenge?
   
   Datafusion doesn't not have a contains function and will return an exception 
if a substrait plan contains it
   
   ```
   Exception: DataFusion error: NotImplemented("Unsupported function name: 
\"contains:str_str\"")
   ```
   
   ### Describe the solution you'd like
   
   When the datafusion consumer sees the `contains` function, it can convert it 
to a combination of `strpos` + `>`
   
   ```
   strpos(lit("abcd"), lit("de") > 0
   ```
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to