imay commented on a change in pull request #1587: Set timezone variable in fe
URL: https://github.com/apache/incubator-doris/pull/1587#discussion_r311011894
##########
File path: fe/src/main/java/org/apache/doris/qe/VariableMgr.java
##########
@@ -67,6 +68,8 @@
public static final int READ_ONLY = 8;
// Variables with this flag can not be seen with `SHOW VARIABLES`
statement.
public static final int INVISIBLE = 16;
+ // set CST to +08:00 instead of America/Chicago
+ public static final ImmutableMap<String, String> timeZoneAliasMap =
ImmutableMap.of("CST", "Asia/Shanghai");
Review comment:
I think it's better to put it in TimeUtils
----------------------------------------------------------------
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]