-- DBMS: bigquery
CREATE TABLE `firebase-public-project.analytics_153293282.events_20180825`
(
  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_20180825` (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 ('20180825', 1535184411803100, 'level_complete_quickplay', '[{''key'': ''board'', ''value'': {''string_value'': ''S'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': 22, ''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'': -8227619652226455466, ''float_value'': None, ''double_value'': None}}]', 1533190541211100, nan, 27, 167342, NULL, 'A72750663D0181C7817F61B3DD2CA656', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468875599000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464469167228000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468883120000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468892237000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464468906747000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468872747000}}
 {''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533190349962000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1518818433550000}}]', 1464468906747000, NULL, {'category': 'tablet', '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': 'en-us', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -25200}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': 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'), ('20180825', 1535184503074121, 'level_complete_quickplay', '[{''key'': ''board'', ''value'': {''string_value'': ''S'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': 22, ''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'': -8227619652226455466, ''float_value'': None, ''double_value'': None}}]', 1535184376803121, nan, 27, 167342, NULL, 'A72750663D0181C7817F61B3DD2CA656', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468874599000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464469166228000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468882120000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468891237000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464468906747000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468871747000}}
 {''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533190348962000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1518818432550000}}]', 1464468906747000, NULL, {'category': 'tablet', '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': 'en-us', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -25200}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': 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'), ('20180825', 1535184581410149, 'level_complete_quickplay', '[{''key'': ''board'', ''value'': {''string_value'': ''S'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': 22, ''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'': -8227619652226455466, ''float_value'': None, ''double_value'': None}}]', 1535184469074149, nan, 27, 167342, NULL, 'A72750663D0181C7817F61B3DD2CA656', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468841599000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464469133228000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468849120000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468858237000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464468906747000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468838747000}}
 {''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533190315962000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1518818399550000}}]', 1464468906747000, NULL, {'category': 'tablet', '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': 'en-us', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -25200}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': 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'), ('20180825', 1535184872001210, 'level_complete_quickplay', '[{''key'': ''board'', ''value'': {''string_value'': ''S'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': 21, ''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'': -8227619652226455466, ''float_value'': None, ''double_value'': None}}]', 1535184580410210, nan, 27, 167342, NULL, 'A72750663D0181C7817F61B3DD2CA656', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468914599000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464469206228000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468922120000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468931237000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464468906747000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468911747000}}
 {''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533190388962000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1518818472550000}}]', 1464468906747000, NULL, {'category': 'tablet', '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': 'en-us', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -25200}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': 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'), ('20180825', 1535184894218232, 'level_complete_quickplay', '[{''key'': ''board'', ''value'': {''string_value'': ''S'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': 18, ''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'': -8227619652226455466, ''float_value'': None, ''double_value'': None}}]', 1535184798001232, nan, 27, 167342, NULL, 'A72750663D0181C7817F61B3DD2CA656', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468875599000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464469167228000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468883120000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468892237000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1464468906747000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1464468872747000}}
 {''key'': ''firebase_exp_3'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1533190349962000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1518818433550000}}]', 1464468906747000, NULL, {'category': 'tablet', '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': 'en-us', 'is_limited_ad_tracking': 'No', 'time_zone_offset_seconds': -25200}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': 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');