-- DBMS: bigquery
CREATE TABLE `firebase-public-project.analytics_153293282.events_20180707`
(
  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_20180707` (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 ('20180707', 1530989382412001, 'screen_view', '[{''key'': ''firebase_previous_id'', ''value'': {''string_value'': None, ''int_value'': 5918159904932965783, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''main_menu'', ''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'': 5918159904932965784, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_previous_class'', ''value'': {''string_value'': ''MainMenuActivity'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1530989377276001, nan, 266, -127729, NULL, '9EBBDF6D1D91535F99C0BAD3C0EBDC73', '[{''key'': ''firebase_exp_5'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528244179534000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1500862022623000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''5'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1500862022623000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1500862640766000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530989382108000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516675079599000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528244179533000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1501767240040000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1500862088274000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1500862021274000}}]', 1500862088274000, 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': -18000}, {'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': None, 'medium': 'organic', 'source': 'google-play'}, '1051193346', 'ANDROID'), ('20180707', 1530989449276000, 'screen_view', '[{''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''MainMenuActivity'', ''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'': 5918159904932965783, ''float_value'': None, ''double_value'': None}}]', 1528244773882000, nan, 266, -127729, NULL, '9EBBDF6D1D91535F99C0BAD3C0EBDC73', '[{''key'': ''firebase_exp_5'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528244246534000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1500862089623000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''5'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1500862089623000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1500862707766000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530989449108000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516675146599000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528244246533000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1501767307040000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1500862088274000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1500862088274000}}]', 1500862088274000, 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': -18000}, {'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': None, 'medium': 'organic', 'source': 'google-play'}, '1051193346', 'ANDROID'), ('20180707', 1531026927640000, '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'': 8155157388420242254, ''float_value'': None, ''double_value'': None}}]', 1521777342677000, nan, 71, -6690231, NULL, '8BEC26274CE411FDDA3BAEBE1A77D7A8', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1483761704785000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1473255223453000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1465802473605000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531026916114000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516662324997000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531026920193000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1518701981360000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531026920192000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1465802210364000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1465802179364000}}]', 1465802210364000, 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'), ('20180707', 1531026906516003, 'screen_view', '[{''key'': ''firebase_previous_id'', ''value'': {''string_value'': None, ''int_value'': 8155157388420242236, ''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'': 8155157388420242253, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_previous_class'', ''value'': {''string_value'': ''main_menu'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1531026883295003, nan, 71, -6690231, NULL, '8BEC26274CE411FDDA3BAEBE1A77D7A8', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1483761688785000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1473255207453000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1465802457605000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531026900114000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516662308997000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531026904193000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1518701965360000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531026904192000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1465802210364000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1465802163364000}}]', 1465802210364000, 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'), ('20180707', 1531026896154004, 'screen_view', '[{''key'': ''firebase_previous_id'', ''value'': {''string_value'': None, ''int_value'': 8155157388420242253, ''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'': 8155157388420242254, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_previous_class'', ''value'': {''string_value'': ''FloodItActivity'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1531026888516004, nan, 71, -6690231, NULL, '8BEC26274CE411FDDA3BAEBE1A77D7A8', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1483761677785000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1473255196453000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1465802446605000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531026889114000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516662297997000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531026893193000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1518701954360000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531026893192000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1465802210364000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1465802152364000}}]', 1465802210364000, 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');