FILL Clause to Handle Missing Timebuckets | Teradata Vantage - 17.10 - Using the FILL Clause to Handle Missing Timebuckets - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Time Series Tables and Operations

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1208-171K
Language
English (United States)

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.