Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

v1.0.5

@a-googler a-googler tagged this 21 Dec 13:15
Also remove timestamp_trunc because it does not work correctly for Spark and its only use was to trunc to an HOUR which does not use timezone anyway: If you run

SELECT
TIMESTAMP_TRUNC(TIMESTAMP "2008-12-25 15:30:00+00", hour, "UTC") AS utc,
TIMESTAMP_TRUNC(TIMESTAMP "2008-12-25 15:30:00+00", hour, "America/Los_Angeles") AS la

in BigQuery, the result is "2008-12-25 15:00:00 UTC" for both.

PiperOrigin-RevId: 592832438
Change-Id: I449700b8846f45ee0bc6ad635e1e8a5dc049e74f
Assets 2
Loading