-- DBMS: bigquery
CREATE TABLE `firebase-public-project.analytics_153293282.events_20180829`
(
  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_20180829` (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 ('20180829', 1535550895161027, '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}}]', 1535230634292027, nan, 111, 430485, NULL, 'E6850F5E0DAB3E339C6A36BDEECCA26F', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480391055000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480437298000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535550776413000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528524391613000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480515836000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480391113000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1528480400416000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480389416000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''8'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480391055000}}]', 1528480400416000, 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': -18000, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'United States', 'region': 'Illinois', 'city': 'Chicago', '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), ('20180829', 1535550968161028, '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}}]', 1535550840937028, nan, 111, 430485, NULL, 'E6850F5E0DAB3E339C6A36BDEECCA26F', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480464055000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480510298000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535550849413000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528524464613000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480588836000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480464113000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1528480400416000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480462416000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''8'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480464055000}}]', 1528480400416000, 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': -18000, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'United States', 'region': 'Illinois', 'city': 'Chicago', '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), ('20180829', 1535550935521044, '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}}]', 1535550877161044, nan, 111, 430485, NULL, 'E6850F5E0DAB3E339C6A36BDEECCA26F', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480405055000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480451298000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535550790413000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528524405613000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480529836000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480405113000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1528480400416000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480403416000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''8'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480405055000}}]', 1528480400416000, 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': -18000, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'United States', 'region': 'Illinois', 'city': 'Chicago', '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), ('20180829', 1535550950521045, '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}}]', 1535550877161045, nan, 111, 430485, NULL, 'E6850F5E0DAB3E339C6A36BDEECCA26F', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480420055000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480466298000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535550805413000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528524420613000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480544836000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480420113000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1528480400416000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480418416000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''8'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480420055000}}]', 1528480400416000, 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': -18000, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'United States', 'region': 'Illinois', 'city': 'Chicago', '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), ('20180829', 1535550879705002, 'post_score', '[{''key'': ''level'', ''value'': {''string_value'': None, ''int_value'': None, ''float_value'': None, ''double_value'': 0.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'': 4.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.694344790155395e+18}}
 {''key'': ''level_name'', ''value'': {''string_value'': ''level_0'', ''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}}]', 1535166340073002, nan, 111, 430485, NULL, 'E6850F5E0DAB3E339C6A36BDEECCA26F', '[{''key'': ''initial_extra_steps'', ''value'': {''string_value'': ''3'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480454055000}}
 {''key'': ''plays_quickplay'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480500298000}}
 {''key'': ''num_levels_available'', ''value'': {''string_value'': ''30'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1535550839413000}}
 {''key'': ''firebase_exp_4'', ''value'': {''string_value'': ''0'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528524454613000}}
 {''key'': ''plays_progressive'', ''value'': {''string_value'': ''true'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480578836000}}
 {''key'': ''firebase_exp_1'', ''value'': {''string_value'': ''2'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480454113000}}
 {''key'': ''first_open_time'', ''value'': {''string_value'': None, ''int_value'': 1528480400416000, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480452416000}}
 {''key'': ''ad_frequency'', ''value'': {''string_value'': ''8'', ''int_value'': None, ''float_value'': None, ''double_value'': None, ''set_timestamp_micros'': 1528480454055000}}]', 1528480400416000, 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': -18000, 'browser': None, 'browser_version': None}, {'continent': 'Americas', 'country': 'United States', 'region': 'Illinois', 'city': 'Chicago', '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);