简体   繁体   English

bigquery自动更新表

[英]bigquery auto update table

I'm using firebase to collect the app data (one iOS and one Android) and linking to bigquery. 我正在使用Firebase收集应用程序数据(一个iOS和一个Android)并链接到bigquery。 so everyday the data will be collected on daily base, but I want everyday's data to be stored in one big table. 因此,每天都会以每天为基础收集数据,但是我希望每天的数据都存储在一张大表中。 basically after everyday's data is being collect, I want automatically query insert function to insert the new data(intraday table) into that big table? 基本上在收集每天的数据之后,我想自动查询插入功能以将新数据(日内表)插入到该大表中吗?

  1. Create a partitioned table 创建一个分区表
  2. Write a script that gets triggered to push the new data into the partitioned table from step 1. 编写一个脚本,该脚本将被触发以将新数据从步骤1推送到分区表中。

https://cloud.google.com/bigquery/docs/partitioned-tables Schedule query in BigQuery BigQuery中的 https://cloud.google.com/bigquery/docs/partitioned-tables 计划查询

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM