-- DBMS: bigquery
CREATE TABLE `firebase-public-project.analytics_153293282.events_20180904`
(
  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, browser STRING, browser_version STRING>,
  geo STRUCT<continent STRING, country STRING, region STRING, city STRING, sub_continent STRING, metro 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,
  event_dimensions STRUCT<hostname STRING>
);

INSERT INTO `firebase-public-project.analytics_153293282.events_20180904` (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, event_dimensions) VALUES ('20180904', 1536060516749000, 'screen_view', '[{''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': 2181380008032573477, ''float_value'': None, ''double_value'': None}}
 {''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}}]', 1531589267715000, nan, 46, -426006, NULL, '9454C88D30154AF624E046D5C408797C', '[{''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273730512000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536060516648000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516644711571000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531589390694000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273030257000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531589390693000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1492273017754000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273017754000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273018249000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273018247000}}]', 1492273017754000, 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-gb', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 3600, 'browser': None, 'browser_version': None}, {'continent': 'Europe', 'country': 'United Kingdom', 'region': None, 'city': None, 'sub_continent': None, 'metro': 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', NULL), ('20180904', 1536060441189003, 'select_content', '[{''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': 2181380008032573478, ''float_value'': None, ''double_value'': None}}
 {''key'': ''content_type'', ''value'': {''string_value'': ''mode'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''item_id'', ''value'': {''string_value'': ''progressive'', ''int_value'': None, ''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'': ''app+gtm'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1514468768574003, nan, 46, -426006, NULL, '9454C88D30154AF624E046D5C408797C', '[{''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273651512000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536060437648000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516644632571000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531589311694000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492272951257000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531589311693000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1492273017754000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492272938754000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492272939249000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492272939247000}}]', 1492273017754000, 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-gb', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 3600, 'browser': None, 'browser_version': None}, {'continent': 'Europe', 'country': 'United Kingdom', 'region': None, 'city': None, 'sub_continent': None, 'metro': 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', NULL), ('20180904', 1536060520026007, 'select_content', '[{''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': 2181380008032573484, ''float_value'': None, ''double_value'': None}}
 {''key'': ''content_type'', ''value'': {''string_value'': ''level'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''item_id'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''level_select'', ''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}}]', 1536060422189007, nan, 46, -426006, NULL, '9454C88D30154AF624E046D5C408797C', '[{''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273728512000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536060514648000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516644709571000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531589388694000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273028257000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531589388693000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1492273017754000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273015754000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273016249000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273016247000}}]', 1492273017754000, 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-gb', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 3600, 'browser': None, 'browser_version': None}, {'continent': 'Europe', 'country': 'United Kingdom', 'region': None, 'city': None, 'sub_continent': None, 'metro': 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', NULL), ('20180904', 1536060531637000, 'session_start', '[{''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': 2181380008032573487, ''float_value'': None, ''double_value'': None}}
 {''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}}]', 1514468777623000, nan, 46, -426006, NULL, '9454C88D30154AF624E046D5C408797C', '[{''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273731512000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536060517648000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516644712571000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531589391694000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273031257000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531589391693000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1492273017754000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273018754000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273019249000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273019247000}}]', 1492273017754000, 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-gb', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 3600, 'browser': None, 'browser_version': None}, {'continent': 'Europe', 'country': 'United Kingdom', 'region': None, 'city': None, 'sub_continent': None, 'metro': 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', NULL), ('20180904', 1536060582549007, 'level_fail', '[{''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 10.0}}
 {''key'': ''level_name'', ''value'': {''string_value'': ''level_10'', ''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}}]', 1514468899647007, nan, 47, -330125, NULL, '9454C88D30154AF624E046D5C408797C', '[{''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492273665512000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536060451648000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516644646571000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531589325694000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492272965257000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1531589325693000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1492273017754000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492272952754000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492272953249000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1492272953247000}}]', 1492273017754000, 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-gb', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 3600, 'browser': None, 'browser_version': None}, {'continent': 'Europe', 'country': 'United Kingdom', 'region': None, 'city': None, 'sub_continent': None, 'metro': 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', NULL);