Step 1: Create the event data table in Teradata

Teradata Developer Guides

ft:locale
en-US
ft:lastEdition
2026-08-18

Connect to your Teradata instance and create the events table:

CREATE TABLE event_data (
    event_id BIGINT NOT NULL,
    event_type VARCHAR(100),
    user_id BIGINT,
    event_timestamp TIMESTAMP,
    country VARCHAR(10),
    PRIMARY KEY (event_id)
);

This table will store all events streamed from Redis.