-- DBMS: bigquery
CREATE TABLE `firebase-public-project.analytics_153293282.events_20180817`
(
  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_20180817` (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 ('20180817', 1534513633771003, 'post_score', '[{''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 3.0}}
 {''key'': ''time'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''key'': ''score'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 8.0}}
 {''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'': None, ''float_value'': None, ''double_value'': -8.57981152358262e+18}}
 {''key'': ''level_name'', ''value'': {''string_value'': ''level_3'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''game_board'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1534312076850003, nan, 526, 590189, NULL, '6F21DD230241C6587130E8FA2B5C1420', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016500122000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1524076652020000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1534513581904000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516683318387000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1524076475518000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016515407000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1529254942569000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1489016516414000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016499414000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016500124000}}]', 1489016516414000, 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}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': 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'), ('20180817', 1534513705952007, 'post_score', '[{''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 4.0}}
 {''key'': ''time'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''key'': ''score'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 5.0}}
 {''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'': None, ''float_value'': None, ''double_value'': -8.57981152358262e+18}}
 {''key'': ''level_name'', ''value'': {''string_value'': ''level_4'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''game_board'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1534513580771007, nan, 527, -377098, NULL, '6F21DD230241C6587130E8FA2B5C1420', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016516122000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1524076668020000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1534513597904000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516683334387000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1524076491518000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016531407000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1529254958569000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1489016516414000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016515414000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016516124000}}]', 1489016516414000, 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}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': 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'), ('20180817', 1534513764102004, 'post_score', '[{''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 5.0}}
 {''key'': ''time'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''key'': ''score'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 2.0}}
 {''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'': None, ''float_value'': None, ''double_value'': -8.57981152358262e+18}}
 {''key'': ''level_name'', ''value'': {''string_value'': ''level_5'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''game_board'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1534513636952004, nan, 528, -532716, NULL, '6F21DD230241C6587130E8FA2B5C1420', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016496122000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1524076648020000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1534513577904000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516683314387000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1524076471518000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016511407000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1529254938569000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1489016516414000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016495414000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016496124000}}]', 1489016516414000, 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}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': 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'), ('20180817', 1534513822452004, 'post_score', '[{''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 6.0}}
 {''key'': ''time'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''key'': ''score'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 3.0}}
 {''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'': None, ''float_value'': None, ''double_value'': -8.57981152358262e+18}}
 {''key'': ''level_name'', ''value'': {''string_value'': ''level_6'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''game_board'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1534513715102004, nan, 529, -548018, NULL, '6F21DD230241C6587130E8FA2B5C1420', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016497122000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1524076649020000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1534513578904000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516683315387000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1524076472518000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016512407000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1529254939569000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1489016516414000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016496414000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016497124000}}]', 1489016516414000, 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}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': 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'), ('20180817', 1534513902318012, 'post_score', '[{''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 7.0}}
 {''key'': ''time'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''key'': ''score'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.0}}
 {''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'': None, ''float_value'': None, ''double_value'': -8.57981152358262e+18}}
 {''key'': ''level_name'', ''value'': {''string_value'': ''level_7'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}
 {''key'': ''firebase_screen_class'', ''value'': {''string_value'': ''game_board'', ''int_value'': None, ''float_value'': None, ''double_value'': None}}]', 1534513772452012, nan, 531, -502983, NULL, '6F21DD230241C6587130E8FA2B5C1420', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''10'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016463122000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1524076615020000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1534513544904000}}
 {''key'': ''firebase_last_notification'', ''value'': {''string_value'': ''3672026032150123458'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1516683281387000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1524076438518000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016478407000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1529254905569000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1489016516414000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016462414000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1489016463124000}}]', 1489016516414000, 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}, {'continent': 'Americas', 'country': 'United States', 'region': None, 'city': 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');