-- DBMS: bigquery
CREATE TABLE `firebase-public-project.analytics_153293282.events_20180702`
(
  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_20180702` (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 ('20180702', 1530590034397045, 'level_complete_quickplay', '[{''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': 22, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''game_board'', ''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'': -3260873074173490837, ''float_value'': None, ''double_value'': None}}
 {''key'': ''board'', ''value'': {''string_value'': ''S'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1526505129609045, nan, 472, 1323984, NULL, '654F30C1312F6C1A26DFDA9F076A62D8', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1482378805491000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1477369230231000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476908488411000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530589570174000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''4857993083614758445'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1494813899942000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530589572284000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476917467314000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530589572283000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1476908354977000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476908266977000}}]', 1476908354977000, NULL, {'category': 'mobile', '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': 'ANDROID', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-us', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -14400}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID'), ('20180702', 1530592878437030, 'level_complete_quickplay', '[{''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': 22, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''game_board'', ''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'': 8126232848982224228, ''float_value'': None, ''double_value'': None}}
 {''key'': ''board'', ''value'': {''string_value'': ''S'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1530590027397030, nan, 474, 1349590, NULL, '654F30C1312F6C1A26DFDA9F076A62D8', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1482378833491000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1477369258231000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476908516411000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530592265519000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''4857993083614758445'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1494813927942000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530589600284000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476917495314000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530589600283000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1476908354977000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476908294977000}}]', 1476908354977000, NULL, {'category': 'mobile', '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': 'ANDROID', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-us', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -14400}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID'), ('20180702', 1530593467343003, 'level_complete_quickplay', '[{''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': 22, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''game_board'', ''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'': 8126232848982224228, ''float_value'': None, ''double_value'': None}}
 {''key'': ''board'', ''value'': {''string_value'': ''S'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1530592843437003, nan, 475, 477041, NULL, '654F30C1312F6C1A26DFDA9F076A62D8', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1482378862491000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1477369287231000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476908545411000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530592294519000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''4857993083614758445'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1494813956942000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530589629284000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476917524314000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530589629283000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1476908354977000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476908323977000}}]', 1476908354977000, NULL, {'category': 'mobile', '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': 'ANDROID', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-us', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -14400}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID'), ('20180702', 1530589584539000, 'session_start', '[{''key'': ''firebase_conversion'', ''value'': {''string_value'': None, ''int_value'': 1, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''game_board'', ''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'': -3260873074173490837, ''float_value'': None, ''double_value'': None}}]', 1526519686063000, nan, 471, 462802, NULL, '654F30C1312F6C1A26DFDA9F076A62D8', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1482378809491000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1477369234231000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476908492411000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530589574174000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''4857993083614758445'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1494813903942000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530589576284000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476917471314000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530589576283000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1476908354977000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476908270977000}}]', 1476908354977000, NULL, {'category': 'mobile', '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': 'ANDROID', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-us', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -14400}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID'), ('20180702', 1530589632251002, 'screen_view', '[{''key'': ''firebase_previous_id'', ''value'': {''string_value'': None, ''int_value'': -3260873074173490845, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''FloodItActivity'', ''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'': -3260873074173490838, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_previous_class'', ''value'': {''string_value'': ''main_menu'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1530589563903002, nan, 471, 462802, NULL, '654F30C1312F6C1A26DFDA9F076A62D8', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1482378863491000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1477369288231000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476908546411000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530589628174000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''4857993083614758445'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1494813957942000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530589630284000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476917525314000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530589630283000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1476908354977000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1476908324977000}}]', 1476908354977000, NULL, {'category': 'mobile', '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': 'ANDROID', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'en-us', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -14400}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID');