You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/09/27 05:08:31 UTC

[GitHub] [incubator-doris] ccoffline commented on pull request #4640: [Feature] Add time_round builtin functions

ccoffline commented on pull request #4640:
URL: https://github.com/apache/incubator-doris/pull/4640#issuecomment-699586356


   > Could you please add document for this new function?
   > under `sql-reference/sql-functions/date-time-functions/`
   
   Like I said, `TIMESTAMPDIFF` implementation in FE has some syntactic sugar on the time units, which combines all the functions into one. This makes the docs looks much prettier.
   
   These function set has (#4619)
   
   > `7(year, month, week, day, hour, minute, second) * 2(floor, ceil) * 4([timestamp], [ts, period], [ts, origin], [ts, period, origin])` = 56 functions. 
   
   I'll try to make the docs looks simple.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org