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

INSERT INTO "BRAZE_USER_EVENT_DEMO_DATASET"."PUBLIC"."USERS_MESSAGES_EMAIL_DELIVERY_VIEW" (CAMPAIGN_ID, NUMBER_CUSTOM_ATTRIBUTES, DEVICE_ID, TIME, CANVAS_API_ID, IP_POOL, LANGUAGE, APP_GROUP_API_ID, CANVAS_STEP_API_ID, CANVAS_STEP_MESSAGE_VARIATION_API_ID, CAMPAIGN_API_ID, GENDER, APP_GROUP_ID, CANVAS_STEP_MESSAGE_VARIATION_ID, SF_CREATED_AT, CANVAS_STEP_ID, EXTERNAL_USER_ID, EMAIL_ADDRESS, STRING_CUSTOM_ATTRIBUTES, TIME_CUSTOM_ATTRIBUTES, FLOAT_CUSTOM_ATTRIBUTES, BOOLEAN_CUSTOM_ATTRIBUTES, TIMEZONE, SENDING_IP, MESSAGE_VARIATION_API_ID, USER_ID, ID, SEND_ID, CANVAS_ID, DISPATCH_ID, CANVAS_VARIATION_ID, CANVAS_VARIATION_API_ID, MESSAGE_VARIATION_ID, COUNTRY) VALUES ('9XfEMD6ekhKrb8q', '[
  1.640079845000000e+09,
  1.640077589000000e+09,
  1.640078505000000e+09,
  1.640079523000000e+09
]', 'sxoqWI1zOhM0uS', 1640078076, NULL, 'rqKxHgye81sPdg', 'en', 'qQGZ2EeiODe7Ys', NULL, 'iGGJRoNAOQvLxt', '4B7Q0DgtqIiCAYA', 'M', 'OkIYT1HbF7u', 'Qt89iMjNLFMSQH', '2021-12-14 11:11:31.229000-08:00', NULL, 'YcBYz1IKLXd', 'UeQJbDBn@gmail.com', '[
  "TM4ITCZ5n5zkUJ",
  "W4H8mXHQQiksGf",
  "aAJn2R9RWShGdn",
  "FHII7mEjyHYkzi"
]', '[
  1640077764,
  1640078118,
  1640079047,
  1640080137
]', '[
  1.640080561000000e+09,
  1.640078513000000e+09,
  1.640078048000000e+09,
  1.640077511000000e+09
]', '[
  true,
  true,
  true,
  true
]', 'Europe/Oslo', '368.053.65.09', 'PzxOAirciusKXy', '2YpRi3chBlPMQcx', 'avFeZyefNpTWxT', '4Ih43PrsFa9qzE', NULL, 'lfmsk5TJYC9510', NULL, '7reyk3QIwcV5ek', 'GygjcQELNE0OmyP', 'US'), ('gcCoXRWljm2V0vQ', '[
  1.690729337000000e+09,
  1.690731013000000e+09,
  1.690730834000000e+09,
  1.690730410000000e+09
]', 'BeOQuqci5jaWka', 1690729900, NULL, 'TjOfprROJfgINV', 'en', 'S4U9sSllOnY9eV', NULL, 'wWQkq4zWB2d5YT', 'RmJD9f6UMLKzyXU', 'M', 'JyWFOSKn8bq', 'hBSPXzVp3fVtVg', '2021-12-14 11:13:42.417000-08:00', NULL, 'tskNCVk4PoO', 'XPvKBaFC@example.com', '[
  "FcQ5yl7d9YHHNq",
  "7jOQ5sumo0pftL",
  "zlcxXwCStVtuJm",
  "MRC7DT3mY7HI3v"
]', '[
  1690732303,
  1690732552,
  1690731187,
  1690732045
]', '[
  1.690730751000000e+09,
  1.690732517000000e+09,
  1.690732557000000e+09,
  1.690730358000000e+09
]', '[
  true,
  true,
  true,
  true
]', 'Europe/Oslo', '201.171.77.70', 'Mr4gOyDBqVIk3i', '1zsYrxlCvMj7Rtd', 'yUr2Tr3T0TTVKk', '2g9u2fxJtmVr1j', NULL, '2uWCX5UmbtBYY8', NULL, 'Gi2T67sdRbbyIy', 'tT4761lSj64eiNj', 'US'), ('i8FUbeD5v1HstnD', '[
  1.657423401000000e+09,
  1.657422265000000e+09,
  1.657422499000000e+09,
  1.657424265000000e+09
]', 'vxRyf5huZFmxya', 1657423130, NULL, 'C1T1Y3un5gqsPH', 'en', 'UxXeEIxXh4MODu', NULL, 'pqH7ZiuJPDzjH6', 'eSSjcCZmN8UBSn4', NULL, 'OkIYT1HbF7u', 'RTmPl3oiMEQnVT', '2021-12-14 11:11:36.224000-08:00', NULL, 'xM1kCRUvVYC', 'NiH8DERc@appboy-co.com', '[
  "x3eAO7b2PUaRpL",
  "kzNadFrbQmWSpr",
  "PCHwy2TzpQNoFZ",
  "o06O0ye1vInd98"
]', '[
  1657422266,
  1657423816,
  1657425168,
  1657425142
]', '[
  1.657422999000000e+09,
  1.657424917000000e+09,
  1.657422048000000e+09,
  1.657422042000000e+09
]', '[
  true,
  true,
  true,
  true
]', 'Indian/Chagos', '527.369.21.83', 'Ezn64YLkDJI2MB', '1MiQunIYSU0esCn', 'TzskfNjSC0xzRM', 'HCQcPQE9E7yzRz', NULL, 'bgynnjdv6HTZ9z', NULL, 'pwijvQ9uFNWpIE', 'rpuoKdS5nsrQWbQ', 'US'), ('svtT4HIehpPjt4o', '[
  1.677221210000000e+09,
  1.677221767000000e+09,
  1.677220840000000e+09,
  1.677218511000000e+09
]', 'uL6nWNboi5gNy2', 1677218780, NULL, 'dnyWKBqj0urWF5', 'en', 'r3anXrYbJ15Z69', NULL, 'kj0Xytno1BFwUH', 'zM1iI22ioP8fGAB', 'M', 'OkIYT1HbF7u', '6F4vGmGvjwAMDY', '2021-12-14 11:13:39.821000-08:00', NULL, 'uaXKIeVhwJH', 'HHosxHiz@gmail.com', '[
  "pLw73gG5nP6Xxq",
  "kOzfp2bd78es3Y",
  "qJARHixcJZZxjy",
  "V65ZSFvHbIJNRL"
]', '[
  1677221695,
  1677219979,
  1677219534,
  1677220654
]', '[
  1.677219030000000e+09,
  1.677219965000000e+09,
  1.677219409000000e+09,
  1.677221541000000e+09
]', '[
  true,
  true,
  true,
  true
]', 'America/Denver', '865.964.92.50', 'kfQwT61LbooNSc', '22G04i9i8Ryoh8z', '1CWqatjmTLcafF', 'JVWNREeux0kjGo', NULL, 'Vdald2DIjfshnD', NULL, 'ft4wBw1gcDZPiE', '71CIvTRTP5RurVI', 'US'), ('wEhHL02g4lYGqWy', '[
  1.690194146000000e+09,
  1.690194006000000e+09,
  1.690195029000000e+09,
  1.690194493000000e+09
]', '6i6vAMcoNck3D8', 1690194791, NULL, '7sCdlZ03TvXuog', 'en', 'sFHxXdG4a1Mspu', NULL, 'EYnKI3uNTm5MW1', 'INKc67zarVPeXsM', 'F', 'JyWFOSKn8bq', '0QHwoBPXFEmNb0', '2021-12-14 11:13:41.972000-08:00', NULL, 'FRKc6ti77bA', 'ENDlm5hC@braze-inc.com', '[
  "f112NpdUfFxs0V",
  "NflHvSW0ol0Fwy",
  "LeJHeMYTJQywYr",
  "sZoVC6gwwitcqI"
]', '[
  1690192953,
  1690195046,
  1690194931,
  1690195268
]', '[
  1.690193138000000e+09,
  1.690195972000000e+09,
  1.690193822000000e+09,
  1.690193568000000e+09
]', '[
  true,
  true,
  true,
  true
]', 'Europe/Oslo', '228.848.68.89', 'AUN1DpB9BCqxaB', '2yx6XmSMA7h5tHe', 'm4budOXzRenZFz', 'LH2tHop4IRSueq', NULL, 'b5i8gLt2xXLgTm', NULL, 'b9kJx5tdSlpGKb', 'qx2jrshY84QnthL', 'US');