-- DBMS: bigquery
CREATE TABLE `firebase-public-project.analytics_153293282.events_20180831`
(
  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_20180831` (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 ('20180831', 1535750251520004, 'screen_view', '[{''key'': ''firebase_previous_id'', ''value'': {''string_value'': None, ''int_value'': -4800798496289273287, ''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'': -4800798496289273286, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_previous_class'', ''value'': {''string_value'': ''FIRootViewController'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1535750201844004, nan, 1007, 768511, NULL, 'B458770ED6E295374FEEB3A68902CC28', '[{''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528374641614000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464610138753000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1486124595706000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464610015006000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464609963675000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464610011675000}}]', 1464609963675000, 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-mx', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -18000, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'Mexico', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.google.flood2', 'version': '2.6.31', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS', NULL), ('20180831', 1535750228520005, 'screen_view', '[{''key'': ''firebase_previous_id'', ''value'': {''string_value'': None, ''int_value'': -4800798496289273286, ''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'': -4800798496289273285, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_previous_class'', ''value'': {''string_value'': ''FIMainMenuViewController'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1535750203520005, nan, 1007, 768511, NULL, 'B458770ED6E295374FEEB3A68902CC28', '[{''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528374618614000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464610115753000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1486124572706000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464609992006000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464609963675000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464609988675000}}]', 1464609963675000, 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-mx', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -18000, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'Mexico', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.google.flood2', 'version': '2.6.31', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS', NULL), ('20180831', 1535750217937007, 'screen_view', '[{''key'': ''firebase_previous_id'', ''value'': {''string_value'': None, ''int_value'': -4800798496289273285, ''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'': -4800798496289273287, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_previous_class'', ''value'': {''string_value'': ''main_menu'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1535750203520007, nan, 1007, 768511, NULL, 'B458770ED6E295374FEEB3A68902CC28', '[{''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528374606614000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464610103753000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1486124560706000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464609980006000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464609963675000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464609976675000}}]', 1464609963675000, 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-mx', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -18000, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'Mexico', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.google.flood2', 'version': '2.6.31', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS', NULL), ('20180831', 1535750279844000, 'screen_view', '[{''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'': -4800798496289273287, ''float_value'': None, ''double_value'': None}}]', 1535300003821000, nan, 1007, 768511, NULL, 'B458770ED6E295374FEEB3A68902CC28', '[{''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528374671614000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464610168753000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1486124625706000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464610045006000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464609963675000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464610041675000}}]', 1464609963675000, 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-mx', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -18000, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'Mexico', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.google.flood2', 'version': '2.6.31', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS', NULL), ('20180831', 1535750260226010, 'level_start_quickplay', '[{''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}}
 {''key'': ''firebase_screen_id'', ''value'': {''string_value'': None, ''int_value'': -4800798496289273285, ''float_value'': None, ''double_value'': None}}
 {''key'': ''board'', ''value'': {''string_value'': ''S'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1535299932157010, nan, 1007, 768511, NULL, 'B458770ED6E295374FEEB3A68902CC28', '[{''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528374649614000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464610146753000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1486124603706000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464610023006000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464609963675000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464610019675000}}]', 1464609963675000, 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-mx', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -18000, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'Mexico', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.google.flood2', 'version': '2.6.31', 'install_store': None, 'firebase_app_id': '1:300830567303:ios:09b1ab1d3ca29bda', 'install_source': 'iTunes'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193347', 'IOS', NULL);