Github user vvysotskyi commented on a diff in the pull request: https://github.com/apache/drill/pull/904#discussion_r135849992 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/fn/impl/TestCastFunctions.java --- @@ -73,16 +74,23 @@ public void testCastByConstantFolding() throws Exception { @Test // DRILL-3769 public void testToDateForTimeStamp() throws Exception { - final String query = "select to_date(to_timestamp(-1)) as col \n" + - "from (values(1))"; + String defaultTimezone = System.getProperty("user.timezone"); + try { + System.setProperty("user.timezone","Etc/GMT"); --- End diff -- Please add space after the comma.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---