Skip to content

time_bucket SQL function aligns timestamps to fixed-width time buckets

UpdateVerifiedAdded Sep 22, 2026

time_bucket returns the start of the fixed-width interval a timestamp falls into, aligned to an origin you choose (for example, 15-minute or 3-month buckets). Use it instead of date_trunc when the bucket width or start is not a calendar unit. See time_bucket function .

Topics: SQL

Databricks's release notes

Summaries of vendors' own notes. Product names and logos belong to their owners; logos via logo.dev.

More Databricks SQL releases

Every Databricks SQL release

Also shipped on Sep 8, 2026

Databricks in September 2026

Weekly: the week's data and AI releases, Tuesday mornings.