-- DBMS: bigquery
CREATE TABLE `firebase-public-project.analytics_153293282.events_20180912`
(
  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_20180912` (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 ('20180912', 1536783111110108, 'select_content', '[{''key'': ''content_type'', ''value'': {''string_value'': ''mode'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''item_id'', ''value'': {''string_value'': ''quickplay'', ''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}}]', 1536782897677108, nan, 1209, -39783550, NULL, '487DE902636DD8A9844A2D61FE7BD568', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850780685000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850780684000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850873971000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536781285061000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535719091984000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1525041331741000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535719091756000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1519850784925000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850775925000}}]', 1519850784925000, 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': -14400, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.labpixies.flood', 'version': '2.57', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID', NULL), ('20180912', 1536783300870359, 'select_content', '[{''key'': ''content_type'', ''value'': {''string_value'': ''mode'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''item_id'', ''value'': {''string_value'': ''quickplay'', ''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}}]', 1536783229291359, nan, 1210, -42269995, NULL, '487DE902636DD8A9844A2D61FE7BD568', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850753685000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850753684000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850846971000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536781258061000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535719064984000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1525041304741000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535719064756000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1519850784925000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850748925000}}]', 1519850784925000, 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': -14400, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.labpixies.flood', 'version': '2.57', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID', NULL), ('20180912', 1536804345547037, 'post_score', '[{''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': 0, ''float_value'': None, ''double_value'': None}}
 {''key'': ''time'', ''value'': {''string_value'': None, ''int_value'': 0, ''float_value'': None, ''double_value'': None}}
 {''key'': ''score'', ''value'': {''string_value'': None, ''int_value'': 2, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_event_origin'', ''value'': {''string_value'': ''app+gtm'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1536795217738037, nan, 1219, -44055335, NULL, '487DE902636DD8A9844A2D61FE7BD568', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850777685000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850777684000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850870971000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536803729543000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535719088984000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1525041328741000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535719088756000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1519850784925000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850772925000}}]', 1519850784925000, 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': -14400, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.labpixies.flood', 'version': '2.57', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID', NULL), ('20180912', 1536804183115008, 'level_fail_quickplay', '[{''key'': ''board'', ''value'': {''string_value'': ''S'', ''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}}]', 1536783008125008, nan, 1219, -44055335, NULL, '487DE902636DD8A9844A2D61FE7BD568', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850752685000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850752684000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850845971000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536803704543000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535719063984000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1525041303741000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535719063756000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1519850784925000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850747925000}}]', 1519850784925000, 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': -14400, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.labpixies.flood', 'version': '2.57', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID', NULL), ('20180912', 1536804143115009, 'level_end_quickplay', '[{''key'': ''board'', ''value'': {''string_value'': ''S'', ''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}}]', 1536795217738009, nan, 1219, -44055335, NULL, '487DE902636DD8A9844A2D61FE7BD568', '[{''key'': ''ad_frequency'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850712685000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850712684000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850805971000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536803664543000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535719023984000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1525041263741000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''1'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535719023756000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1519850784925000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1519850707925000}}]', 1519850784925000, 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': -14400, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.labpixies.flood', 'version': '2.57', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': '(direct)', 'medium': '(none)', 'source': '(direct)'}, '1051193346', 'ANDROID', NULL);