-- DBMS: bigquery
CREATE TABLE `firebase-public-project.analytics_153293282.events_20180927`
(
  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, web_info STRUCT<browser STRING, browser_version STRING, hostname 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_20180927` (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 ('20180927', 1538107754729000, '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'': ''FIRootViewController'', ''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'': -4032465700639525046, ''float_value'': None, ''double_value'': None}}]', 1538104668071000, nan, 4004, 295238, NULL, 'F909F0B27E49138A93535DAE4B792C1C', '[{''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528314408859000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464465061087000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1495904837976000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464464958782000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464464961941000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464464955941000}}]', 1464464961941000, 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': 'IOS', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'es-es', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 7200, 'browser': None, 'browser_version': None, 'web_info': None}, {'continent': 'Europe', 'country': 'Spain', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.google.flood2', 'version': '2.6.27', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS', NULL), ('20180927', 1538070840707002, 'level_complete_quickplay', '[{''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': 29, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''FIRootViewController'', ''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'': 5601003909453212347, ''float_value'': None, ''double_value'': None}}
 {''key'': ''board'', ''value'': {''string_value'': ''M'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1538018869434002, nan, 3979, 272851, NULL, 'F909F0B27E49138A93535DAE4B792C1C', '[{''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528314430859000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464465083087000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1495904859976000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464464980782000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464464961941000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464464977941000}}]', 1464464961941000, 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': 'IOS', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'es-es', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 7200, 'browser': None, 'browser_version': None, 'web_info': None}, {'continent': 'Europe', 'country': 'Spain', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.google.flood2', 'version': '2.6.27', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS', NULL), ('20180927', 1538078175877002, 'level_complete_quickplay', '[{''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': 28, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''FIRootViewController'', ''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'': 6633724654915728238, ''float_value'': None, ''double_value'': None}}
 {''key'': ''board'', ''value'': {''string_value'': ''M'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1538070754707002, nan, 3986, 108199, NULL, 'F909F0B27E49138A93535DAE4B792C1C', '[{''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528314434859000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464465087087000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1495904863976000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464464984782000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464464961941000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464464981941000}}]', 1464464961941000, 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': 'IOS', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'es-es', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 7200, 'browser': None, 'browser_version': None, 'web_info': None}, {'continent': 'Europe', 'country': 'Spain', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.google.flood2', 'version': '2.6.27', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS', NULL), ('20180927', 1538070713722001, 'screen_view', '[{''key'': ''firebase_previous_id'', ''value'': {''string_value'': None, ''int_value'': 5601003909453212347, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''FIMainMenuViewController'', ''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'': 5601003909453212348, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_previous_class'', ''value'': {''string_value'': ''FIRootViewController'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1538070708188001, nan, 3978, 133885, NULL, 'F909F0B27E49138A93535DAE4B792C1C', '[{''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528314349859000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464465002087000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1495904778976000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464464899782000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464464961941000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464464896941000}}]', 1464464961941000, 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': 'IOS', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'es-es', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 7200, 'browser': None, 'browser_version': None, 'web_info': None}, {'continent': 'Europe', 'country': 'Spain', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.google.flood2', 'version': '2.6.27', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS', NULL), ('20180927', 1538070745722002, 'screen_view', '[{''key'': ''firebase_previous_id'', ''value'': {''string_value'': None, ''int_value'': 5601003909453212348, ''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'': 5601003909453212349, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_previous_class'', ''value'': {''string_value'': ''FIMainMenuViewController'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1538070708722002, nan, 3978, 133885, NULL, 'F909F0B27E49138A93535DAE4B792C1C', '[{''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528314381859000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464465034087000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1495904810976000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464464931782000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464464961941000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464464928941000}}]', 1464464961941000, 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': 'IOS', 'operating_system_version': 'not available in demo dataset', 'vendor_id': None, 'advertising_id': None, 'language': 'es-es', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': 7200, 'browser': None, 'browser_version': None, 'web_info': None}, {'continent': 'Europe', 'country': 'Spain', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.google.flood2', 'version': '2.6.27', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS', NULL);