Rounding Timestamps in BigQuery
Have you ever encountered a situation where you would need to round a timestamp to the nearest second, 5 seconds or minute? While rounding a number is trivial, it's a little bit less straightforward when dealing with timestamps.
Let's consider the fo...
datawise.dev2 min read