LiBinfeng-01 opened a new issue, #44016:
URL: https://github.com/apache/doris/issues/44016

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   master latest
   
   ### What's Wrong?
   
   when we use fold constant in fe, it shows different result with be execute 
directly
   mysql [(none)]>select str_to_date('2024-09-06 15:41:08', '%Y-%m-%d %T');
   +---------------------------------------------------+
   | str_to_date('2024-09-06 15:41:08', '%Y-%m-%d %T') |
   +---------------------------------------------------+
   | 2024-09-06 15:41:08                               |
   +---------------------------------------------------+
   1 row in set (0.00 sec)
   mysql [(none)]>set DEBUG_SKIP_FOLD_CONSTANT = true;
   Query OK, 0 rows affected (0.00 sec)
   mysql [(none)]>select str_to_date('2024-09-06 15:41:08', '%Y-%m-%d %T');
   +---------------------------------------------------+
   | str_to_date('2024-09-06 15:41:08', '%Y-%m-%d %T') |
   +---------------------------------------------------+
   | 2024-09-06 15:41:08.000000                        |
   +---------------------------------------------------+
   1 row in set (0.03 sec) 
   
   ### What You Expected?
   
   same behavior of fe and be execute
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

Reply via email to