TD_GETTIMEBUCKET | Teradata Vantage - TD_GETTIMEBUCKET - 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ā„¢

The TD_GETTIMEBUCKET system function retrieves the TD_TIMEBUCKET column value from a PTI table. Because a timebucket is a hash key, a DBA can use the TD_TIMEBUCKET column value to determine how well the rows of a PTI table are being distributed across AMPs, avoiding skew.

The return type of this function is BIGINT.