Hi,
I found the bug while using in "from_utc_timestamp" function while using from UTC time stamp to EST time stamp
Below is the Query
Query:
select trim(current_timestamp()) as Current
,trim(from_utc_timestamp(current_timestamp(),'EST')) as EST
,trim(from_utc_timestamp(current_timestamp(),'UTC-4')) as UTC_Minus_Four
,trim(date_add(current_timestamp(),-1)) as Day_Minus_One
,trim(date_add(from_utc_timestamp(current_timestamp(),'EST'),-1)) as EST_Day_Minus_one
and the output is attached in the scrren shot
The expectation is the EST has to match with the current TIME ZONE i.e. During summer it should be Eastern Daylight Time (UTC-4) and during winter it should be Easter Standard Time(UTC-5).
As per the screenshot it is giving output as Eastern Standard Time(UTC-5) during summer.