-- DBMS: snowflake
CREATE TABLE BRAZE_USER_EVENT_DEMO_DATASET.PUBLIC.USERS_CAMPAIGNS_REVENUE_VIEW (
    DEVICE_ID TEXT,
    SEND_ID TEXT,
    GENDER TEXT,
    CAMPAIGN_API_ID TEXT,
    COUNTRY TEXT,
    MESSAGE_VARIATION_ID TEXT,
    EXTERNAL_USER_ID TEXT,
    APP_GROUP_ID TEXT,
    APP_GROUP_API_ID TEXT,
    APP_API_ID TEXT,
    REVENUE NUMBER,
    ID TEXT,
    MESSAGE_VARIATION_API_ID TEXT,
    LANGUAGE TEXT,
    SF_CREATED_AT TIMESTAMP_LTZ,
    TIME NUMBER,
    FLOAT_CUSTOM_ATTRIBUTES ARRAY,
    STRING_CUSTOM_ATTRIBUTES ARRAY,
    NUMBER_CUSTOM_ATTRIBUTES ARRAY,
    DISPATCH_ID TEXT,
    APP_ID TEXT,
    TIMEZONE TEXT,
    BOOLEAN_CUSTOM_ATTRIBUTES ARRAY,
    USER_ID TEXT,
    CAMPAIGN_ID TEXT,
    TIME_CUSTOM_ATTRIBUTES ARRAY
);

INSERT INTO "BRAZE_USER_EVENT_DEMO_DATASET"."PUBLIC"."USERS_CAMPAIGNS_REVENUE_VIEW" (DEVICE_ID, SEND_ID, GENDER, CAMPAIGN_API_ID, COUNTRY, MESSAGE_VARIATION_ID, EXTERNAL_USER_ID, APP_GROUP_ID, APP_GROUP_API_ID, APP_API_ID, REVENUE, ID, MESSAGE_VARIATION_API_ID, LANGUAGE, SF_CREATED_AT, TIME, FLOAT_CUSTOM_ATTRIBUTES, STRING_CUSTOM_ATTRIBUTES, NUMBER_CUSTOM_ATTRIBUTES, DISPATCH_ID, APP_ID, TIMEZONE, BOOLEAN_CUSTOM_ATTRIBUTES, USER_ID, CAMPAIGN_ID, TIME_CUSTOM_ATTRIBUTES) VALUES ('IlJVcDLy4BdNp0', '1Qzy3wr5X8gqOh', 'M', 'wPMrOZZ3Mp0b7Tp', 'US', 'tckGRXy3rDwgn7M', 'wAYo9V6o5nu', 'OkIYT1HbF7u', 'FkJBtioJpVJFkd', 'yZt9zK7v7JM48h', 535, 'Lf8Iuz3qPbgesz', '6sccN3ry3C4WqN', 'en', '2021-12-14 11:11:59.286000-08:00', 1685507043, '[
  1.685463789000000e+09,
  1.685465585000000e+09,
  1.685464713000000e+09,
  1.685464269000000e+09
]', '[
  "DYmHrEUcQSz619",
  "PKKBtPjX33iy60",
  "97NA3iQw22WgKi",
  "j5xwYaHw2Rcclg"
]', '[
  1.685462560000000e+09,
  1.685464857000000e+09,
  1.685462469000000e+09,
  1.685463366000000e+09
]', 'M6pKNqbeDDMh7e', 'WleeR6PnBPb', 'America/Denver', '[
  true,
  true,
  true,
  true
]', '1mxZnTlBYV8VXq5', 'Nv2PYLbJCWhnlMp', '[
  1685464410,
  1685464234,
  1685463738,
  1685465545
]'), ('QfsmFTU2cTWgJU', 'rJF3tDqKApEzqP', 'M', 'Sl3n7oLWNEgcMwZ', 'US', 'cbSYzXFtp6wxPGl', 'Y4L56TSrB4q', 'OkIYT1HbF7u', 'bgQTUYSTlpMYGz', 'd3ASaV4C6ErBnt', 7783, 'TtdiF0qC5lamkq', '0lJBVIYkzPK1xr', 'en', '2021-12-14 11:11:56.017000-08:00', 1655939241, '[
  1.655694647000000e+09,
  1.655696866000000e+09,
  1.655697244000000e+09,
  1.655696019000000e+09
]', '[
  "oTCGrcZv74vGVa",
  "JV7EP7xUC5Pfp6",
  "HhxEfTcweFc3YG",
  "cNKbpiq7KAeqft"
]', '[
  1.655697318000000e+09,
  1.655695612000000e+09,
  1.655695140000000e+09,
  1.655694930000000e+09
]', 'k5eMsRDBP1tOSj', 'WleeR6PnBPb', 'Europe/Oslo', '[
  true,
  true,
  true,
  true
]', '1n1DOUYn84Ryy7A', 'GcfiHP3DyxDJeMh', '[
  1655695617,
  1655695848,
  1655695776,
  1655696753
]'), ('Irgoy7zI8lH3of', '54sv6ycBbiSB5u', 'F', 'VbYvkSQ2vcfILST', 'US', 'n0YMmdOSwa2G19M', 'C2oFn2uNxUZ', 'JyWFOSKn8bq', 'g1wYdHtb76Abxy', 'q1CO07EXfuYhvf', 419, 'F9kZeZjCGEASE4', 'OtrIft98TUpBZ2', 'en', '2021-12-14 11:11:55.812000-08:00', 1686159200, '[
  1.685766703000000e+09,
  1.685765933000000e+09,
  1.685767567000000e+09,
  1.685765525000000e+09
]', '[
  "x8PS2Pv5pNzG6X",
  "rOKsbH6zOwjjUI",
  "QSDS6Dnrad11KY",
  "iBrAK0vAAWvo7N"
]', '[
  1.685765638000000e+09,
  1.685768120000000e+09,
  1.685767733000000e+09,
  1.685766461000000e+09
]', 'x3bTIrunkiQ9LN', 'cavgwlQbKmE', 'Europe/Oslo', '[
  true,
  true,
  true,
  true
]', '1mDFdURFj4tdtfp', 'J3psThKmeES1Mc8', '[
  1685766824,
  1685765392,
  1685766910,
  1685767056
]'), ('fgQRLb4pmElg4u', 'J4FnDhdWbI8tsg', NULL, 'DFVQni8bt4qgVJm', 'US', '0QO3O0fEG8jB5a3', 'B1FIxZ8vSq7', 'OkIYT1HbF7u', '93SNlm5VRAcHgT', 'Fw3FkzT9h6scPR', 136, 'MI3My4AhSBytiG', 'OmxOc4zkcMpN2i', 'en', '2021-12-14 11:11:55.957000-08:00', 1653868887, '[
  1.653288421000000e+09,
  1.653285753000000e+09,
  1.653288069000000e+09,
  1.653287705000000e+09
]', '[
  "pusBgBUVErnKhS",
  "UOnQbce7iCcy9z",
  "l51Sh7Ii69b1t3",
  "v4ZPZXytjRJHUM"
]', '[
  1.653289057000000e+09,
  1.653286131000000e+09,
  1.653288376000000e+09,
  1.653285741000000e+09
]', 'x2QYzkMCsgqhhR', 'WleeR6PnBPb', 'Europe/Oslo', '[
  true,
  true,
  true,
  true
]', '1mDXNHliWy8To81', '0BdNnZAXDrhhEpf', '[
  1653288224,
  1653288772,
  1653288919,
  1653288286
]'), ('qd078bjG3IKfrs', 'LUFPLOYAXAhVex', 'F', 'xz8FqU0hZbOtCIA', 'US', 't9yurZynFMcQvnN', 'kP535zS2TDL', 'OkIYT1HbF7u', 'xQtV1l7YjZOHwH', '8fqksWaSAL3v5C', 4070, 'tPW2JOPcmFN8A1', 'bo7V0zpcE4MzaA', 'en', '2021-12-14 11:08:47.547000-08:00', 1632423840, '[
  1.631495126000000e+09,
  1.631497927000000e+09,
  1.631494958000000e+09,
  1.631496513000000e+09
]', '[
  "EoVyWDWuOzNfEd",
  "EYZLSQD8U8GNJ2",
  "skr6K2XW5JXmQD",
  "9C6L0ZlQXwVeaV"
]', '[
  1.631497087000000e+09,
  1.631497539000000e+09,
  1.631498338000000e+09,
  1.631495590000000e+09
]', 'o8QtyyFqkqGvxo', 'WleeR6PnBPb', 'America/New_York', '[
  true,
  true,
  true,
  true
]', '1mH94VU0K2F2phi', 'MtzO3Brx2nxUXnp', '[
  1631496448,
  1631497364,
  1631498211,
  1631496569
]');