zclllyybb opened a new pull request, #18212: URL: https://github.com/apache/doris/pull/18212
# Problem summary Introduced new methods to avoid expanding const column in some functions. ## Performance Improvement before: ``` mysql [tpch]>Select substring(c_name, 5, 10), substring(c_address, 10, 15), substring(c_comment, 50, 75) from customer; ...... 15000000 rows in set (18.30 sec) ``` after: ``` mysql [tpch]>Select substring(c_name, 5, 10), substring(c_address, 10, 15), substring(c_comment, 50, 75) from customer; ...... 15000000 rows in set (15.92 sec) ``` ## Checklist(Required) * [ ] Does it affect the original behavior * [ ] Has unit tests been added * [ ] Has document been added or modified * [ ] Does it need to update dependencies * [x] Is this PR support rollback (If NO, please explain WHY) ## Further comments -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org