alamb commented on PR #13061:
URL: https://github.com/apache/datafusion/pull/13061#issuecomment-2448081272

   I thought more about this PR the other day -- given the dependecy you have 
identified, I wonder if we might actually want to do the opposite 
   
   Specifically rewrite 
   ```sql
   starts_with(x, 'foo')
   ```
   
   into 
   ```sql
   x LIKE 'foo%'
   ```
   
   With the rationale that `like` already has quite a bit of special case / 
optimization. 
   
   I'll file a ticket to track the idea


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