[
https://issues.apache.org/jira/browse/CALCITE-5493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17680503#comment-17680503
]
Ruben Q L commented on CALCITE-5493:
------------------------------------
Thanks for the reactivity [~freastro]!
I confirm this fixed the test on my local environment too.
> Time zone tests in SqlFunctions should pass in Europe/London
> ------------------------------------------------------------
>
> Key: CALCITE-5493
> URL: https://issues.apache.org/jira/browse/CALCITE-5493
> Project: Calcite
> Issue Type: Bug
> Components: core
> Reporter: Gregory Hart
> Assignee: Gregory Hart
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.33.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The {{SqlFunctionsTest.testToIntWithTimeZone}} test fails in the
> Europe/London time zone. The issue is due to the use of
> {{TimeZone.setRawOffset(int)}} which expects the provided value to be the
> offset from GMT, but the test provides the offset from UTC.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)