ccoffline opened a new pull request #4640:
URL: https://github.com/apache/incubator-doris/pull/4640


   ## Proposed changes
   
   #4619 
   Add time_round functions that provides `time_floor` & `time_ceil` at each 
time unit.
   
   Fix two related bugs.
   - #4618 
   - Fix `struct TimeInterval` to use `int64_t` instead of `int32_t`, in case 
when the second diff overflow
   
   ## Types of changes
   
   - [x] Bugfix (non-breaking change which fixes an issue)
   - [x] New feature (non-breaking change which adds functionality)
   - [] Breaking change (fix or feature that would cause existing functionality 
to not work as expected)
   - [] Documentation Update (if none of the other choices apply)
   - [] Code refactor (Modify the code structure, format the code, etc...)
   
   ## Checklist
   
   - [x] I have create an issue on (Fix #ISSUE), and have described the 
bug/feature there in detail
   - [x] Compiling and unit tests pass locally with my changes
   - [x] I have added tests that prove my fix is effective or that my feature 
works
   - [] If this change need a document change, I have updated the document
   - [] Any dependent changes have been merged
   
   ## Further comments
   
   This change didn't match the style as `TIMESTAMPDIFF`, which has some 
syntactic sugar on the time units in FE. I'm not much familiar with this 
implementation, so I'm going to figure it out and make up for the documentation 
then.


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