-- RDS_PERSONA_CLIP table
-- Populated by Glue job rds_to_s3_bots_personaclip_hourly_insert
CREATE TRANSIENT TABLE if not exists {personaclip_table_name} CLUSTER BY (p_date, p_hour) (
    ID NUMBER(38,0),
    CREATED_AT TIMESTAMP_TZ(9),
    UPDATED_AT TIMESTAMP_TZ(9),
    CLIP_ID VARCHAR(255),
    PERSONA_ID VARCHAR(255),
    USER_ID NUMBER(38,0),
    CREATED_SESSION_ID VARCHAR(255),
    P_DATE DATE,
    P_HOUR NUMBER(38,0)
);
