-- DBMS: bigquery
CREATE TABLE `firebase-public-project.analytics_153293282.events_20180810`
(
  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_20180810` (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 ('20180810', 1533921467818007, 'level_fail', '[{''key'': ''level_name'', ''value'': {''string_value'': ''level_9'', ''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'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 9.0}}]', 1499093376872007, nan, 69, -63677936, NULL, '0FB030B897D1A6360CCD8CCBF9031755', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''8'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017525250000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017525250000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499080607918000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920981843000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''5585658761805216398'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499734249476000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920984884000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017533072000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920984884000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1499017489033000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017519033000}}]', 1499017489033000, 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': 'ja-jp', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 32400}, {'continent': 'Asia', 'country': 'Japan', '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'), ('20180810', 1533921471818008, 'level_end', '[{''key'': ''level_name'', ''value'': {''string_value'': ''level_9'', ''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'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 9.0}}]', 1533921298820008, nan, 69, -63677936, NULL, '0FB030B897D1A6360CCD8CCBF9031755', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''8'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017529250000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017529250000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499080611918000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920985843000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''5585658761805216398'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499734253476000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920988884000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017537072000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920988884000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1499017489033000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017523033000}}]', 1499017489033000, 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': 'ja-jp', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 32400}, {'continent': 'Asia', 'country': 'Japan', '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'), ('20180810', 1533920954778005, 'level_start_quickplay', '[{''key'': ''board'', ''value'': {''string_value'': ''M'', ''int_value'': None, ''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'': -9067604656883779915, ''float_value'': None, ''double_value'': None}}]', 1512316236295005, nan, 61, -64045872, NULL, '0FB030B897D1A6360CCD8CCBF9031755', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''8'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017483250000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017483250000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499080565918000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920939843000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''5585658761805216398'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499734207476000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920942884000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017491072000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920942884000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1499017489033000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017477033000}}]', 1499017489033000, 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': 'ja-jp', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 32400}, {'continent': 'Asia', 'country': 'Japan', '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'), ('20180810', 1533920971206028, 'post_score', '[{''key'': ''level_name'', ''value'': {''string_value'': ''level_1'', ''int_value'': None, ''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'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 1.0}}
 {''key'': ''time'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''key'': ''score'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 21.0}}
 {''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'': None, ''float_value'': None, ''double_value'': -9.06760465688378e+18}}]', 1512316232883028, nan, 61, -64045872, NULL, '0FB030B897D1A6360CCD8CCBF9031755', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''8'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017482250000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017482250000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499080564918000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920938843000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''5585658761805216398'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499734206476000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920941884000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017490072000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920941884000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1499017489033000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017476033000}}]', 1499017489033000, 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': 'ja-jp', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 32400}, {'continent': 'Asia', 'country': 'Japan', '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'), ('20180810', 1533921048305003, 'post_score', '[{''key'': ''level_name'', ''value'': {''string_value'': ''level_2'', ''int_value'': None, ''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'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 2.0}}
 {''key'': ''time'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''key'': ''score'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 12.0}}
 {''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'': None, ''float_value'': None, ''double_value'': -9.06760465688378e+18}}]', 1533920943206003, nan, 62, -64034514, NULL, '0FB030B897D1A6360CCD8CCBF9031755', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''8'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017531250000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017531250000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499080613918000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920987843000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''5585658761805216398'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499734255476000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920990884000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017539072000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533920990884000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1499017489033000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1499017525033000}}]', 1499017489033000, 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': 'ja-jp', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 32400}, {'continent': 'Asia', 'country': 'Japan', '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');