You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/07/10 14:24:04 UTC

[GitHub] [incubator-doris] imay commented on a change in pull request #1456: Add utc_timestamp function

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


With regards,
Apache Git Services

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