imay commented on a change in pull request #1456: Add utc_timestamp function
URL: https://github.com/apache/incubator-doris/pull/1456#discussion_r302093156
 
 

 ##########
 File path: be/src/exprs/timestamp_functions.cpp
 ##########
 @@ -243,6 +243,17 @@ DateTimeVal TimestampFunctions::curtime(FunctionContext* 
context) {
     return return_val;
 }
 
+DateTimeVal TimestampFunctions::utc_timestamp(FunctionContext* context) {
+    TimeInterval interval;
+    interval.second = -28800;
 
 Review comment:
   Add some comment for this -28800?

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to