简体   繁体   English

现有的 firestore 收集数据到 bigQuery

[英]Existing firestore collection data into bigQuery

I have 100 documents in a collection of cloud firestore.我在云 Firestore 集合中有 100 个文档。 I am using firebase extension Stream Collections to BigQuery to get the data into google bigQuery.我正在使用 Firebase 扩展Stream Collections to BigQuery将数据输入谷歌 bigQuery。 I want to import the existing collection documents into bigQuery using firebase extension Stream Collections to BigQuery .我想使用 firebase 扩展Stream Collections to BigQuery将现有集合文档导入 bigQuery 。 Raw changelog table in bigQuery is only getting the Create and Update data of that collection but still can't access the existing documents in the bigQuery. bigQuery 中的原始更改日志表仅获取该集合的创建和更新数据,但仍无法访问 bigQuery 中的现有文档。

Kindly help me with some solutions.请帮我解决一些问题。 Thanks谢谢

From the Firebase documentation for the Stream Collections to BigQuery extension:Stream Collections to BigQuery扩展的 Firebase 文档:

Backfill your BigQuery dataset回填 BigQuery 数据集

This extension only sends the content of documents that have been changed -- it does not export your full dataset of existing documents into BigQuery.此扩展程序仅发送已更改文档的内容 - 它不会将现有文档的完整数据集导出到 BigQuery。 So, to backfill your BigQuery dataset with all the documents in your collection, you can run the import script provided by this extension.因此,要使用集合中的所有文档回填 BigQuery 数据集,您可以运行此扩展程序提供的导入脚本

Important: Run the import script over the entire collection after installing this extension, otherwise all writes to your database during the import might be lost.重要提示:安装此扩展后,在整个集合上运行导入脚本,否则在导入期间对数据库的所有写入可能会丢失。

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

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