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

Time Series Tables and Operations

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
cxa1555383531762.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1208
lifecycle
previous
Product Category
Teradata Vantageā„¢

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.