I'm reading this SO post and am confused. Suppose I have a field that I've been told from our data engineering team is in UTC time. How can I cast it as PST (Pacific time, California)?
select
'2021-02-12 05:27:51' as if_this_is_already_utc_then,
'2021-02-12 05:27:51' at time zone 'pst' as is_this_pst,
'2021-02-12 05:27:51' at time zone 'utc' at time zone 'pst' as or_is_this_pst
The two attempts at PST show different timestamps. Which is correct, if any? I'm confused because on the linked post they first seem to convert to UTC and then again to EST. Which do I need here if I know that the original timestamp is UTC and I want to get it to PST California?