FILL Clause to Handle Missing Timebuckets | Teradata Vantage - 17.00 - Using the FILL Clause to Handle Missing Timebuckets - Teradata Database

Teradata Vantageā„¢ - Time Series Tables and Operations

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
created_date
June 2020
category
Programming Reference
featnum
B035-1208-170K

If an entire timebucket is missing a particular value from the aggregate result rows, you can use the FILL clause to set the values. Several FILL values are provided. The FILL clause must follow a GROUP BY TIME clause. For information about the FILL clause syntax and the available values, see GROUP BY TIME Clause.

When the FILL clause is omitted from the GROUP BY TIME clause, the missing timebuckets are ignored.

Keywords are case insensitive.