github-actions[bot] opened a new pull request, #43089:
URL: https://github.com/apache/doris/pull/43089

   PR Body: ## Proposed changes
   
   Boost characterLiteralTypeCoercion by check the string format and skip throw 
Throwable when can not parse string to integer/float/date/datetime.
   
   This logical usually appear when search `If`  function signature, because 
the If has lots of signature, we need cast argument to the signature type to 
matches the best signature, for example:
   
   ```
   select if(column_1, 'xxx', 'yyy')
   ```
   we will check whether the 'xxx' and 'yyy' can be parsed to int/datetime and 
so on.
   
   
   
   In some scenarios, this optimize can provide 16% QPS
   
   before: optimize:
   <img width="1901" alt="image" 
src="https://github.com/user-attachments/assets/b03d2d29-5d3b-45a6-ba54-2bcc7c2dccca";>
   
   <img width="1484" alt="image" 
src="https://github.com/user-attachments/assets/82cbb2b0-dfe8-4a05-bc2f-ebb35dc23209";>
   
   after optimize:
   <img width="1724" alt="image" 
src="https://github.com/user-attachments/assets/d60a867d-596d-4ac1-9377-6460ed6d3dd1";>
   
   <img width="1722" alt="image" 
src="https://github.com/user-attachments/assets/c9c9f72c-3a5f-4c24-95d9-9ca99ecab0a6";>
   
   
    
    Cherry-picked from #42941


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