-- DBMS: bigquery
CREATE TABLE `firebase-public-project.analytics_153293282.events_20180628`
(
  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,
  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_20180628` (event_date, event_timestamp, event_name, event_params, event_previous_timestamp, event_value_in_usd, user_id, user_pseudo_id, user_properties, user_first_touch_timestamp, user_ltv, device, geo, app_info, traffic_source, stream_id, platform) VALUES ('20180628', 1530216216779000, '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'': 334933093159371777, ''float_value'': None, ''double_value'': None}}]', 1530058240869000, nan, NULL, 'CF2898B41B7243671C36D5168D9D89B0', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''16'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515455885314000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''5'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418076097000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515456195839000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530216216505000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''2879480449900304566'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1478193498028000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1529255963746000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418091375000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515455885759000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464418020767000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418075767000}}]', 1464418020767000, 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': -25200}, {'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'), ('20180628', 1530216192975000, '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'': 334933093159371784, ''float_value'': None, ''double_value'': None}}]', 1530057924539000, nan, NULL, 'CF2898B41B7243671C36D5168D9D89B0', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''16'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515455849314000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''5'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418040097000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515456159839000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530216180505000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''2879480449900304566'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1478193462028000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1529255927746000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418055375000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515455849759000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464418020767000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418039767000}}]', 1464418020767000, 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': -25200}, {'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'), ('20180628', 1530216214517004, 'user_engagement', '[{''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'': 334933093159371778, ''float_value'': None, ''double_value'': None}}
 {''key'': ''engagement_time_msec'', ''value'': {''string_value'': None, ''int_value'': 3740, ''float_value'': None, ''double_value'': None}}]', 1530058243875004, nan, NULL, 'CF2898B41B7243671C36D5168D9D89B0', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''16'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515455879314000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''5'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418070097000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515456189839000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530216210505000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''2879480449900304566'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1478193492028000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1529255957746000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418085375000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515455879759000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464418020767000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418069767000}}]', 1464418020767000, 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': -25200}, {'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'), ('20180628', 1530216203714009, 'user_engagement', '[{''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'': 334933093159371783, ''float_value'': None, ''double_value'': None}}
 {''key'': ''engagement_time_msec'', ''value'': {''string_value'': None, ''int_value'': 2006, ''float_value'': None, ''double_value'': None}}]', 1530216155517009, nan, NULL, 'CF2898B41B7243671C36D5168D9D89B0', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''16'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515455866314000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''5'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418057097000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515456176839000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530216197505000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''2879480449900304566'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1478193479028000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1529255944746000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418072375000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515455866759000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464418020767000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418056767000}}]', 1464418020767000, 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': -25200}, {'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'), ('20180628', 1530216356977011, 'user_engagement', '[{''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'': 334933093159371784, ''float_value'': None, ''double_value'': None}}
 {''key'': ''engagement_time_msec'', ''value'': {''string_value'': None, ''int_value'': 197261, ''float_value'': None, ''double_value'': None}}]', 1530216157714011, nan, NULL, 'CF2898B41B7243671C36D5168D9D89B0', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''16'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515455822314000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''5'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418013097000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515456132839000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1530216153505000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''2879480449900304566'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1478193435028000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1529255900746000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418028375000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1515455822759000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464418020767000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464418012767000}}]', 1464418020767000, 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': -25200}, {'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');