Numbers Utility Table

TableDescription
common.utility.numbersUtility table containing sequential numbers from 0 to 1 billion. For use in analytical queries and data generation.

Unique Key: number

Column NameDescription
numberThe sequential number (primary key)
number_hexThe hexadecimal representation of the number

Timestamp Utility Tables

Table NameDescription
common.utility.datesDate dimension table containing dates from January 1, 1970 to December 31, 2500, with various date-related attributes for time-based analysis and reporting.
common.utility.hoursHourly dimension table containing dates from January 1, 1970 to December 31, 2500, with various time-related attributes for detailed time-based analysis.

Unique Key: hour_timestamp

Column NameDescription
hour_timestampThe timestamp representing the start of the hour (primary key)
dateThe calendar date for this hour
hour_of_dayThe hour within the day (0-23)
am_pmIndicator for AM or PM
hour_displayHuman-readable hour format (e.g., ‘2 PM’, ‘10 AM’)
day_partPart of day (Morning, Afternoon, Evening, Night)
is_business_hourBoolean flag indicating if the hour falls within typical business hours (9 AM - 5 PM)
previous_hourThe timestamp of the previous hour
next_hourThe timestamp of the next hour
day_of_weekThe day of the week (0=Sunday, 6=Saturday)
day_nameThe name of the day of the week (Monday, Tuesday, etc.)
monthThe month of the year (1-12)
yearThe year component of the timestamp
quarterThe quarter of the year (1-4)