Omega359 opened a new issue, #9391: URL: https://github.com/apache/arrow-datafusion/issues/9391
### Is your feature request related to a problem or challenge? strpos: ``` Returns the starting position of a specified substring in a string. Positions begin at 1. If the substring does not exist in the string, the function returns 0. strpos(str, substr) ``` instr: ``` Returns the location where substr first appeared in str (counting from 1). If substr does not appear in str, return 0. instr(str, substr) ``` These seem to be functionally identical but have separate implementations. There isn't a good reason why instr shouldn't just be an alias for strpos that I can see. ### Describe the solution you'd like instr function is removed and replaced with an alias to strpos. Docs and everything else updated to reflect the change. ### Describe alternatives you've considered Leave the code duplication in place. ### Additional context Noted in #9026 -- 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]
