How to convert UTC time to local timezones based on timezone column in bigquery?
问题 I've been trying to convert each UTC time back to the appropriate local timezone using standard SQL in GBQ, but couldn't find a good way to do it dynamically because I might have tons of different timezone name within the database. I'm wondering if anyone has an idea? The table I have contains 2 different columns (see screenshot) 回答1: Below example is for BigQuery Standard SQL #standardSQL WITH `project.dataset.yourtable` AS ( SELECT 'Pacific/Honolulu' timezone, TIMESTAMP '2020-03-01 03:41:27