luozenglin opened a new issue #5999:
URL: https://github.com/apache/incubator-doris/issues/5999


   **Is your feature request related to a problem? Please describe.**
   mysql supports the date functions:yearweek(),week(),makedate(), but these 
functions cannot be found in doris.
   
   **Describe the solution you'd like**
   
   mysql> select yearweek('2021-6-1');
   +----------------------+
   | yearweek('2021-6-1') |
   +----------------------+
   |               202122 |
   +----------------------+
   
   mysql> select week('2021-6-1');
   +------------------+
   | week('2021-6-1') |
   +------------------+
   |               22 |
   +------------------+
   
   mysql> select makedate(2021, 100);
   +---------------------+
   | makedate(2021, 100) |
   +---------------------+
   | 2021-04-10          |
   +---------------------+
   
   


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

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