-- DBMS: snowflake
CREATE TABLE BRAZE_USER_EVENT_DEMO_DATASET.PUBLIC.USERS_MESSAGES_EMAIL_CLICK_VIEW (
    CANVAS_STEP_API_ID TEXT,
    COUNTRY TEXT,
    IP_POOL TEXT,
    DISPATCH_ID TEXT,
    CANVAS_VARIATION_API_ID TEXT,
    CANVAS_STEP_ID TEXT,
    USER_AGENT TEXT,
    GENDER TEXT,
    CAMPAIGN_API_ID TEXT,
    FLOAT_CUSTOM_ATTRIBUTES ARRAY,
    CANVAS_STEP_MESSAGE_VARIATION_ID TEXT,
    APP_GROUP_API_ID TEXT,
    LANGUAGE TEXT,
    LINK_ALIAS TEXT,
    ID TEXT,
    LINK_ID TEXT,
    TIMEZONE TEXT,
    MESSAGE_VARIATION_API_ID TEXT,
    CANVAS_API_ID TEXT,
    DEVICE_ID TEXT,
    TIME_CUSTOM_ATTRIBUTES ARRAY,
    SF_CREATED_AT TIMESTAMP_LTZ,
    MESSAGE_VARIATION_ID TEXT,
    USER_ID TEXT,
    TIME NUMBER,
    CANVAS_STEP_MESSAGE_VARIATION_API_ID TEXT,
    APP_GROUP_ID TEXT,
    URL TEXT,
    CAMPAIGN_ID TEXT,
    CANVAS_VARIATION_ID TEXT,
    SEND_ID TEXT,
    CANVAS_ID TEXT,
    EMAIL_ADDRESS TEXT,
    EXTERNAL_USER_ID TEXT,
    NUMBER_CUSTOM_ATTRIBUTES ARRAY,
    BOOLEAN_CUSTOM_ATTRIBUTES ARRAY,
    STRING_CUSTOM_ATTRIBUTES ARRAY
);

INSERT INTO "BRAZE_USER_EVENT_DEMO_DATASET"."PUBLIC"."USERS_MESSAGES_EMAIL_CLICK_VIEW" (CANVAS_STEP_API_ID, COUNTRY, IP_POOL, DISPATCH_ID, CANVAS_VARIATION_API_ID, CANVAS_STEP_ID, USER_AGENT, GENDER, CAMPAIGN_API_ID, FLOAT_CUSTOM_ATTRIBUTES, CANVAS_STEP_MESSAGE_VARIATION_ID, APP_GROUP_API_ID, LANGUAGE, LINK_ALIAS, ID, LINK_ID, TIMEZONE, MESSAGE_VARIATION_API_ID, CANVAS_API_ID, DEVICE_ID, TIME_CUSTOM_ATTRIBUTES, SF_CREATED_AT, MESSAGE_VARIATION_ID, USER_ID, TIME, CANVAS_STEP_MESSAGE_VARIATION_API_ID, APP_GROUP_ID, URL, CAMPAIGN_ID, CANVAS_VARIATION_ID, SEND_ID, CANVAS_ID, EMAIL_ADDRESS, EXTERNAL_USER_ID, NUMBER_CUSTOM_ATTRIBUTES, BOOLEAN_CUSTOM_ATTRIBUTES, STRING_CUSTOM_ATTRIBUTES) VALUES (NULL, 'US', 'jq0BDPmPN243ZI', 'juhTmKWZR0fgSl', 'K7tx9FTXbERu5v', NULL, 'wxwwpV0', 'M', 'z3oz6yWNe7MNdzW', '[
  1.683407903000000e+09,
  1.683410169000000e+09,
  1.683407651000000e+09,
  1.683407168000000e+09
]', 'MJw1FFk8c5Xppl', 'NlMPvYxHTBi8eu', 'en', '4wkbSIU', 'juPheEbyPTzqox', 'qHSwjSi', 'Asia/Singapore', 'e9ZaN78RpDGi8A', NULL, 'fgRJo27YFjxYji', '[
  1683408923,
  1683407047,
  1683408770,
  1683410336
]', '2021-12-14 11:13:59.198000-08:00', 'ulVI638engUkYqB', '0xXLak2de8D3IX8', 1683432329, 'DdP6lSOS4uIzH4', 'JyWFOSKn8bq', 'https://www.example_company.com/c/redcard/-/N-4tfyn', 'dFIyF90UYhbqxFf', NULL, 'PwAMNzkaVRjinY', NULL, '3OOcQTj7@appboy-co.com', 'Y6V2NureYLG', '[
  1.683408153000000e+09,
  1.683409916000000e+09,
  1.683407884000000e+09,
  1.683406945000000e+09
]', '[
  true,
  true,
  true,
  true
]', '[
  "1rObGvY8X1dcIh",
  "FCx1bJ8h3HwGFe",
  "aDdeeFCNiTH0r3",
  "FOQNwe9EC6T1Sb"
]'), (NULL, 'US', 'QysAQztL7X6NPT', 'sMYGK0DWRy88Yp', 'JUdCQhOtjn642o', NULL, 'M8UBGIS', NULL, 'msKgPvrWXrFNtRn', '[
  1.691534001000000e+09,
  1.691532555000000e+09,
  1.691535469000000e+09,
  1.691534707000000e+09
]', 'uqcr2A0PZs3ABr', 'TVwdbSFQUZ9zYv', 'en', 'Qv63ihY', 'u9Z4IvVxQtSZlb', 'ZRvRjh0', 'Asia/Singapore', '5JDDb8DNQX1Ejh', NULL, 'n5IzZL3QegoQ97', '[
  1691532038,
  1691533923,
  1691533245,
  1691532111
]', '2021-12-14 11:14:07.813000-08:00', 'TtVRBoy8YVxXhUC', '0xV7M3T96YNHhIV', 1691546213, 'Q4dL5rTzPb0GFp', 'OkIYT1HbF7u', 'https://www.example_company.com/c/clearance/-/N-5q0ga?lnk=dNav_clearance', 'NTzEFwYbFgZR3Ai', NULL, '0u9Dc3ryQi05Wx', NULL, '3CJiJ1TH@example.com', 'gqrHRAqwGSM', '[
  1.691532206000000e+09,
  1.691533368000000e+09,
  1.691533912000000e+09,
  1.691532535000000e+09
]', '[
  true,
  true,
  true,
  true
]', '[
  "6K7pNKurfqdM3o",
  "2SPeOyRJQrc5fm",
  "2cunV6Ph4FOVFb",
  "DKQBQsnfxzScpo"
]'), (NULL, 'US', '1Ik1qc0Pfax9xE', 'WxTYMnWOaacvjG', 'xtLK3KMr0BbJSY', NULL, '3r1KNXP', NULL, 'kpWKjTT4ghXJWD5', '[
  1.688294624000000e+09,
  1.688294271000000e+09,
  1.688294042000000e+09,
  1.688293873000000e+09
]', 'A8B8Z3EwrUlSLU', 'kubF8oFUKO6ks9', 'en', 'vTQG0rL', 'zVPtbsOGpzMuL9', 'C5udnaq', 'America/New_York', '2YZuCtP8uEulug', NULL, 'E0qozLTMuIFe82', '[
  1688292605,
  1688294634,
  1688293834,
  1688295132
]', '2021-12-14 11:13:56.239000-08:00', 'ivpgRVERFhNnV5U', '0xXbnCBmp2tAAK5', 1688308107, 'wx1XEoxGamG5vI', 'JyWFOSKn8bq', 'https://www.example_company.com/c/redcard/-/N-4tfyn', 'UlhnsMp1cwlmdEf', NULL, 'IOgZTw6t51khZs', NULL, 'IhR91bur@braze.com', '0TiPSCpbr6Y', '[
  1.688293436000000e+09,
  1.688292020000000e+09,
  1.688295458000000e+09,
  1.688292318000000e+09
]', '[
  true,
  true,
  true,
  true
]', '[
  "fxWQWlmkattw3Q",
  "N9GvFu3a9QyZBV",
  "5MTQBqAYHByKpj",
  "YsCxGiwWNYacGm"
]'), (NULL, 'US', 'tMiP8DVOGEb0MO', 'KYXLlYDEIospgw', 'RAY4xPSjTpFFuP', NULL, '2o28YCy', NULL, '0ykvqGHu3KXtFts', '[
  1.692212265000000e+09,
  1.692209538000000e+09,
  1.692210451000000e+09,
  1.692208959000000e+09
]', 'wxQN0VNpEKtFi5', 'e7xVXn0CoOGk4B', 'en', 'wjTWkD2', '6A35lDSJdESY5u', 'KWda8y2', 'America/Denver', 'cAyVSpy3umVtmO', NULL, 'xmrXAgkDrpAfFP', '[
  1692211821,
  1692211561,
  1692210314,
  1692210219
]', '2021-12-14 11:13:59.198000-08:00', '7xoXOUvRxdVoahQ', '0xXhhOcFwgk4G4I', 1692219754, 'm7EKgINzPUlPyb', 'JyWFOSKn8bq', 'https://www.example_company.com/', 'xP32oK9opF7qtgu', NULL, 'AdV6RbO6QGSWYd', NULL, 'jvJvjIue@gmail.com', 'lCruGRAmJmI', '[
  1.692210002000000e+09,
  1.692211234000000e+09,
  1.692211821000000e+09,
  1.692209314000000e+09
]', '[
  true,
  true,
  true,
  true
]', '[
  "I06xTDBDTtSICM",
  "hSOchO77XwvNe0",
  "67bgyARGJcbHxY",
  "dd6SxfBGiYNnaU"
]'), (NULL, 'US', 'dxDhKfofiqNqHI', 'qPr2oGjB0r4wjN', 'gX7F5MXiieCXeB', NULL, 'heW1X6F', 'M', 'qXhopDOCdOGZh7N', '[
  1.640052228000000e+09,
  1.640054635000000e+09,
  1.640052238000000e+09,
  1.640053291000000e+09
]', 'j0p7GPTqnyo4Tb', 'Y7fKwPs2CgKxrf', 'en', '88Ark6s', 'rmeujEZbnXJ7Ef', 'PVrgaUo', 'America/New_York', 'nuIR2bbw8qKs9t', NULL, 'vCDR95AtjaO5cC', '[
  1640054115,
  1640055153,
  1640053936,
  1640052454
]', '2021-12-14 11:13:56.477000-08:00', 'MS83j4Vkf3zn70f', '0xX9iOY3PmLMCT9', 1640054370, 'yBbWuq6fsb8xM0', 'JyWFOSKn8bq', 'https://www.example_company.com/', 'HyTMfytF3l3V3b5', NULL, 'IydD3GERKceTlf', NULL, 'OzE1V9FB@gmail.com', 'P51WRqGltVV', '[
  1.640052024000000e+09,
  1.640055074000000e+09,
  1.640055332000000e+09,
  1.640052981000000e+09
]', '[
  true,
  true,
  true,
  true
]', '[
  "vHWcaTVJ3dgeqQ",
  "HQpigrMQMqmLPG",
  "38oTL6VgucFrjl",
  "eS90uDVbtobpmp"
]');