-- DBMS: bigquery
CREATE TABLE `firebase-public-project.analytics_153293282.events_20180907`
(
  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_20180907` (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 ('20180907', 1536318204637000, 'level_complete', '[{''key'': ''level_name'', ''value'': {''string_value'': ''level_1'', ''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}}
 {''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 1.0}}
 {''key'': ''firebase_conversion'', ''value'': {''string_value'': None, ''int_value'': 1, ''float_value'': None, ''double_value'': None}}
 {''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 1.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'': 7.461026209832449e+18}}]', NULL, nan, 12, -1337527, NULL, 'E271C38BE1E3E9E9A1D4DE0A5CF3FA3E', '[{''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317730869000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317269106000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317275688000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536318204637000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040635208000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1536040597598000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040630598000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''4'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040635062000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040635062000}}]', 1536040597598000, 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': 19800, 'browser': None, 'browser_version': None}, {'continent': 'Asia', 'country': 'India', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': None, 'medium': 'organic', 'source': 'google-play'}, '1051193346', 'ANDROID', NULL), ('20180907', 1536318185637001, 'level_up', '[{''key'': ''level_name'', ''value'': {''string_value'': ''level_1'', ''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}}
 {''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 1.0}}
 {''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 1.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'': 7.461026209832449e+18}}]', NULL, nan, 12, -1337527, NULL, 'E271C38BE1E3E9E9A1D4DE0A5CF3FA3E', '[{''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317711869000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317250106000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317256688000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536318185637000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040616208000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1536040597598000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040611598000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''4'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040616062000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040616062000}}]', 1536040597598000, 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': 19800, 'browser': None, 'browser_version': None}, {'continent': 'Asia', 'country': 'India', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': None, 'medium': 'organic', 'source': 'google-play'}, '1051193346', 'ANDROID', NULL), ('20180907', 1536318212553000, 'level_complete', '[{''key'': ''level_name'', ''value'': {''string_value'': ''level_2'', ''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}}
 {''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 2.0}}
 {''key'': ''firebase_conversion'', ''value'': {''string_value'': None, ''int_value'': 1, ''float_value'': None, ''double_value'': None}}
 {''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 10.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'': 7.461026209832449e+18}}]', 1536318122637000, nan, 13, -1326405, NULL, 'E271C38BE1E3E9E9A1D4DE0A5CF3FA3E', '[{''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317715869000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317254106000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317260688000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536318189637000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040620208000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1536040597598000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040615598000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''4'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040620062000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040620062000}}]', 1536040597598000, 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': 19800, 'browser': None, 'browser_version': None}, {'continent': 'Asia', 'country': 'India', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': None, 'medium': 'organic', 'source': 'google-play'}, '1051193346', 'ANDROID', NULL), ('20180907', 1536318151553003, 'level_up', '[{''key'': ''level_name'', ''value'': {''string_value'': ''level_2'', ''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}}
 {''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 2.0}}
 {''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 10.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'': 7.461026209832449e+18}}]', 1536318122637003, nan, 13, -1326405, NULL, 'E271C38BE1E3E9E9A1D4DE0A5CF3FA3E', '[{''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317654869000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317193106000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317199688000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536318128637000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040559208000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1536040597598000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040554598000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''4'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040559062000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040559062000}}]', 1536040597598000, 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': 19800, 'browser': None, 'browser_version': None}, {'continent': 'Asia', 'country': 'India', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': None, 'medium': 'organic', 'source': 'google-play'}, '1051193346', 'ANDROID', NULL), ('20180907', 1536318252285000, 'level_complete', '[{''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}}
 {''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 3.0}}
 {''key'': ''firebase_conversion'', ''value'': {''string_value'': None, ''int_value'': 1, ''float_value'': None, ''double_value'': None}}
 {''key'': ''value'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 13.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'': 7.461026209832449e+18}}]', 1536318145553000, nan, 14, -1254437, NULL, 'E271C38BE1E3E9E9A1D4DE0A5CF3FA3E', '[{''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317711869000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317250106000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536317256688000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536318185637000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040616208000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1536040597598000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040611598000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''4'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040616062000}}
 {''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''20'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1536040616062000}}]', 1536040597598000, 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': 19800, 'browser': None, 'browser_version': None}, {'continent': 'Asia', 'country': 'India', 'region': None, 'city': None, 'sub_continent': None, 'metro': None}, {'id': 'com.labpixies.flood', 'version': '2.62', 'install_store': None, 'firebase_app_id': '1:300830567303:android:9b9ba2ce17104d0c', 'install_source': 'com.android.vending'}, {'name': None, 'medium': 'organic', 'source': 'google-play'}, '1051193346', 'ANDROID', NULL);