asdf2014 commented on a change in pull request #5993: SQL: Add server-wide
default time zone config.
URL: https://github.com/apache/incubator-druid/pull/5993#discussion_r201544930
##########
File path: sql/src/test/java/io/druid/sql/calcite/CalciteQueryTest.java
##########
@@ -169,6 +169,14 @@ public int getMaxQueryCount()
return 1;
}
};
+ private static final PlannerConfig PLANNER_CONFIG_LOS_ANGELES = new
PlannerConfig()
+ {
+ @Override
+ public DateTimeZone getSqlTimeZone()
+ {
+ return DateTimeZone.forID("America/Los_Angeles");
Review comment:
Maybe use `DateTimes.inferTzfromString` will be better here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]