Earned Promotions Fact Table

Earned promotions are promotions that customers receive after meeting specific criteria or completing certain activities defined by a brand, such as making a purchase, registering, updating their profile, or achieving a milestone. This fact table captures information related to earned promotions, such as the date and time the promotion was earned, the customer ID associated with it, etc.

Databricks Table Name: earned_promotions_fact


Column NameData TypeDescriptionLinked TableAvailability for Export in the Standard Template
auto_update_timebigintDate and time when the corresponding table available at the source was last updated. It is in the Unix timestamp format.time_
auto_update_time_cebigintDate and time when the customer enrollment data was last updated, in Unix timestamp format.time_
auto_update_time_ipbigintDate and time when the promotion data related to the earned points was last updated, in Unix timestamp format.time_
ce_idbigintCustomer enrollment Id__
dim_customer_enrollment_date_idbigintDate when the Customer was enrolled for the promotion.date_
dim_customer_enrollment_time_idbigintTime when the Customer was enrolled for the promotion.time_
dim_earned_date_idbigintDate when promotion was earned.date_
dim_earned_expiry_date_idbigintIndicates the date when the earned promotion expires.date_
dim_earned_expiry_time_idbigintIndicates the time when the earned promotion expires.time_
dim_earned_promotion_active_idbigintIdentifier indicating whether the earned promotion is currently active.__
dim_earned_time_idbigintIdentifier for the time when the promotion was earned.time_
dim_event_user_idbigintIdentifier for the customer associated with the reward.users_
dim_issued_date_idbigintIndicates the date when the promotion was issued to the customer.date_
dim_issued_time_idbigintIndicates the time when the promotion was issued to the customer.time_
dim_latest_updated_date_idbigintDate when the data corresponding to this event/ row is changed in the source table. It is in the YYYY-MM-DD format.date_
dim_latest_updated_time_idbigintIdentifier for the time when the data corresponding to this event/ row is changed in the source table.time_
dim_redeemed_countbigintCount of how many times the promotion has been redeemed by the customer__
event_log_idbigintIdentifier for the event log entry associated with this promotion.__
idbigintUnique identifier for the table record. It is the primary key for the table.__
issual_idbigintIdentifier for the specific issual of the promotion.__
yearintYear of the promotion earned.__