🧭✨ Future Tariff Period Groups (NEW)

✨ NEW TABLE - December 2025

🛠️ Partner API Alignment Migration

🧭 This table represents the post-migration state for tariff_period_groups.

1️⃣ Migrate to this table by April 2026

2️⃣ Between April 2026 and July 2026, remove FUTURE__ prefix

Contains tariff period group data enriched with related tariff information and deletion timestamps. Provides a comprehensive view of tariff period groups by joining core period group data with corresponding tariff records, enabling analysis of period group lifecycle and associated tariff status. Filters results to only include period groups that have corresponding tariff records.

SQL: FUTURE__tariff_period_groups

Schema

Column NameData TypeDescription
Primary ID
idINTEGERPrimary key
Other IDs
tariff_idINTEGERForeign key reference to the associated tariff record
Timestamps
created_atTIMESTAMP_NTZTimestamp when the tariff period group record was originally created
updated_atTIMESTAMP_NTZTimestamp when the tariff period group record was last modified
deleted_atTIMESTAMP_NTZTimestamp when the tariff period group was soft deleted, null if still active
tariff_deleted_atTIMESTAMP_NTZDeletion timestamp from the associated tariff record, null if tariff is still active
tariff_operator_deleted_atTIMESTAMP_NTZOperator-initiated deletion timestamp from the associated tariff record
Attributes
active_fromTIMESTAMP_NTZStart timestamp when the tariff period group becomes effective
active_toTIMESTAMP_NTZEnd timestamp when the tariff period group expires, null if indefinite
descriptionVARCHARHuman-readable description or label for the tariff period group

Changes from Last Version

Added columns (3)

Timestamps (Deletion Tracking):

  • deleted_at (tariff period group deletion status)
  • tariff_deleted_at (parent tariff deletion status)
  • tariff_operator_deleted_at (tariff's operator deletion status)

Removed columns (0)

Renamed Columns (2)

  • tariff_period_group_id → id

Data inclusion criteria

This table includes period groups that belong to tariffs included in the operator's FUTURE__tariffs table

Data flow

Upstream tablesDownstream tables
FUTURE__tariffs---

Alignment

Partner API

tariff_period_groups table

Exclude rows where the period group is deleted, tariff is deleted, or operator is deleted

where deleted_at is null 
and tariff_deleted_at is null 
and tariff_operator_deleted_at is null