Firebase 将数据从BigQuery数据集传输到我自己创建的BigQuery表

Firebase 将数据从BigQuery数据集传输到我自己创建的BigQuery表,firebase,google-bigquery,google-cloud-platform,Firebase,Google Bigquery,Google Cloud Platform,我有一个包含所有数据集的大查询项目,现在我想知道数据是如何从firebase到这些数据集的,我在bigquery中创建了一个新的自己的表。如何将数据从dataset的任何表推送到自己创建的表中? 此查询包含要在自己的表中显示的dataset表的所有字段 SELECT user_dim.device_info.device_category user_dim.device_info.mobile_brand_name user_dim.device_info.mobile_model_nam

我有一个包含所有数据集的大查询项目,现在我想知道数据是如何从firebase到这些数据集的,我在bigquery中创建了一个新的自己的表。如何将数据从dataset的任何表推送到自己创建的表中? 此查询包含要在自己的表中显示的dataset表的所有字段

SELECT
user_dim.device_info.device_category
user_dim.device_info.mobile_brand_name  

user_dim.device_info.mobile_model_name  
user_dim.device_info.mobile_marketing_nam
FROM [in_mylo_pregnancy_baby_app_ANDROID.app_events]
假设user_dim是一个数组,您可以使用这样的查询。确保包含标准SQL

现在,所有字段都将是结果表中的顶级列。如果不是数组,则直接选择这些字段:

#standardSQL
SELECT
  user_dim.device_info.device_category
  user_dim.device_info.mobile_brand_name  
  user_dim.device_info.mobile_model_name  
  user_dim.device_info.mobile_marketing_nam
FROM `in_mylo_pregnancy_baby_app_ANDROID.app_events;

请停止尝试问多个问题,因为StackOverflow不是这样工作的。请参阅。

是否希望用户\u dim.device\u info.device\u类别在新表中具有该名称?还是仅仅称之为设备分类?您在问题中提供的查询有什么问题?user_dim.device_info.device_category这是表格中的一列,由firebase在大查询中自动提供。我想把这个表中的数据放到我自己在大查询中创建的表中。我将如何做以及我想知道或理解firebase在bigQuery中提供的表的结构的另一个帮助。。你能帮我吗?是的,这是一个简单的设备类别,我只想从这个列下的这个表中获取数据User\u dim.device\u info.device\u category到我在bigQuery中手动创建的新表中。你没有回答我的问题。在新表中,该列是称为user_dim.device_info.device_category,还是称为device_category?
#standardSQL
SELECT
  user_dim.device_info.device_category
  user_dim.device_info.mobile_brand_name  
  user_dim.device_info.mobile_model_name  
  user_dim.device_info.mobile_marketing_nam
FROM `in_mylo_pregnancy_baby_app_ANDROID.app_events;