-- DBMS: bigquery
CREATE TABLE `firebase-public-project.analytics_153293282.events_20180804`
(
  event_date STRING,
  event_timestamp INT64,
  event_name STRING,
  event_params ARRAY<STRUCT<key STRING, value STRUCT<string_value STRING, int_value INT64, float_value FLOAT64, double_value FLOAT64>>>,
  event_previous_timestamp INT64,
  event_value_in_usd FLOAT64,
  event_bundle_sequence_id INT64,
  event_server_timestamp_offset INT64,
  user_id STRING,
  user_pseudo_id STRING,
  user_properties ARRAY<STRUCT<key STRING, value STRUCT<string_value STRING, int_value INT64, float_value FLOAT64, double_value FLOAT64, set_timestamp_micros INT64>>>,
  user_first_touch_timestamp INT64,
  user_ltv STRUCT<revenue FLOAT64, currency STRING>,
  device STRUCT<category STRING, mobile_brand_name STRING, mobile_model_name STRING, mobile_marketing_name STRING, mobile_os_hardware_model STRING, operating_system STRING, operating_system_version STRING, vendor_id STRING, advertising_id STRING, language STRING, is_limited_ad_tracking STRING, time_zone_offset_seconds INT64>,
  geo STRUCT<continent STRING, country STRING, region STRING, city STRING>,
  app_info STRUCT<id STRING, version STRING, install_store STRING, firebase_app_id STRING, install_source STRING>,
  traffic_source STRUCT<name STRING, medium STRING, source STRING>,
  stream_id STRING,
  platform STRING
);

INSERT INTO `firebase-public-project.analytics_153293282.events_20180804` (event_date, event_timestamp, event_name, event_params, event_previous_timestamp, event_value_in_usd, event_bundle_sequence_id, event_server_timestamp_offset, user_id, user_pseudo_id, user_properties, user_first_touch_timestamp, user_ltv, device, geo, app_info, traffic_source, stream_id, platform) VALUES ('20180804', 1533423346731002, 'level_complete_quickplay', '[{''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': 36, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''FIRootViewController'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_event_origin'', ''value'': {''string_value'': ''app+gtm'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': -6003369317945685592, ''float_value'': None, ''double_value'': None}}
 {''key'': ''board'', ''value'': {''string_value'': ''L'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1533336651185002, nan, 1086, 1188133, NULL, '8065F8E98407106A65D35195984B2258', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464591916951000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464592035714000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464867841643000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464592146359000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464591946544000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464591901544000}}
 {''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530075800444000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1487014371368000}}]', 1464591946544000, NULL, {'category': 'tablet', 'mobile_brand_name': 'not available in demo dataset', 'mobile_model_name': 'not available in demo dataset', 'mobile_marketing_name': 'not available in demo dataset', 'mobile_os_hardware_model': 'not available in demo dataset', 'operating_system': 'IOS', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-gb', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 3600}, {'continent': 'Europe', 'country': 'United Kingdom', 'region': None, 'city': None}, {'id': 'com.google.flood2', 'version': '2.6.31', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS'), ('20180804', 1533423507984016, 'level_complete_quickplay', '[{''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': 34, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''FIRootViewController'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_event_origin'', ''value'': {''string_value'': ''app+gtm'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': -6003369317945685592, ''float_value'': None, ''double_value'': None}}
 {''key'': ''board'', ''value'': {''string_value'': ''L'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1533423330731016, nan, 1086, 1188133, NULL, '8065F8E98407106A65D35195984B2258', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464591988951000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464592107714000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464867913643000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464592218359000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464591946544000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464591973544000}}
 {''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530075872444000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1487014443368000}}]', 1464591946544000, NULL, {'category': 'tablet', 'mobile_brand_name': 'not available in demo dataset', 'mobile_model_name': 'not available in demo dataset', 'mobile_marketing_name': 'not available in demo dataset', 'mobile_os_hardware_model': 'not available in demo dataset', 'operating_system': 'IOS', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-gb', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 3600}, {'continent': 'Europe', 'country': 'United Kingdom', 'region': None, 'city': None}, {'id': 'com.google.flood2', 'version': '2.6.31', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS'), ('20180804', 1533423605107029, 'level_complete_quickplay', '[{''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': 34, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''FIRootViewController'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_event_origin'', ''value'': {''string_value'': ''app+gtm'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': -6003369317945685592, ''float_value'': None, ''double_value'': None}}
 {''key'': ''board'', ''value'': {''string_value'': ''L'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1533423419984029, nan, 1086, 1188133, NULL, '8065F8E98407106A65D35195984B2258', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464591978951000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464592097714000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464867903643000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464592208359000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464591946544000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464591963544000}}
 {''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530075862444000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1487014433368000}}]', 1464591946544000, NULL, {'category': 'tablet', 'mobile_brand_name': 'not available in demo dataset', 'mobile_model_name': 'not available in demo dataset', 'mobile_marketing_name': 'not available in demo dataset', 'mobile_os_hardware_model': 'not available in demo dataset', 'operating_system': 'IOS', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-gb', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 3600}, {'continent': 'Europe', 'country': 'United Kingdom', 'region': None, 'city': None}, {'id': 'com.google.flood2', 'version': '2.6.31', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS'), ('20180804', 1533423695224002, 'level_complete_quickplay', '[{''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': 35, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''FIRootViewController'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_event_origin'', ''value'': {''string_value'': ''app+gtm'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': -6003369317945685592, ''float_value'': None, ''double_value'': None}}
 {''key'': ''board'', ''value'': {''string_value'': ''L'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1533423527107002, nan, 1087, 1188134, NULL, '8065F8E98407106A65D35195984B2258', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464591966951000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464592085714000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464867891643000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464592196359000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464591946544000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464591951544000}}
 {''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530075850444000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1487014421368000}}]', 1464591946544000, NULL, {'category': 'tablet', 'mobile_brand_name': 'not available in demo dataset', 'mobile_model_name': 'not available in demo dataset', 'mobile_marketing_name': 'not available in demo dataset', 'mobile_os_hardware_model': 'not available in demo dataset', 'operating_system': 'IOS', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-gb', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 3600}, {'continent': 'Europe', 'country': 'United Kingdom', 'region': None, 'city': None}, {'id': 'com.google.flood2', 'version': '2.6.31', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS'), ('20180804', 1533423245621001, 'screen_view', '[{''key'': ''firebase_previous_id'', ''value'': {''string_value'': None, ''int_value'': -6003369317945685592, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''FIMainMenuViewController'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_event_origin'', ''value'': {''string_value'': ''auto'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': -6003369317945685591, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_previous_class'', ''value'': {''string_value'': ''FIRootViewController'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1533423207082001, nan, 1085, 1095289, NULL, '8065F8E98407106A65D35195984B2258', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464591937951000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464592056714000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464867862643000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464592167359000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464591946544000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464591922544000}}
 {''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530075821444000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1487014392368000}}]', 1464591946544000, NULL, {'category': 'tablet', 'mobile_brand_name': 'not available in demo dataset', 'mobile_model_name': 'not available in demo dataset', 'mobile_marketing_name': 'not available in demo dataset', 'mobile_os_hardware_model': 'not available in demo dataset', 'operating_system': 'IOS', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-gb', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 3600}, {'continent': 'Europe', 'country': 'United Kingdom', 'region': None, 'city': None}, {'id': 'com.google.flood2', 'version': '2.6.31', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS');