实体的种类出乎意料

par*_*dox 5 firebase google-bigquery google-cloud-firestore

这给出了 firestore 中存在的数据库

1)首先我通过控制台进行了 firestore 导出

2)其次,当我尝试从 Cloud Firestore 导出加载数据时

 By steps given in this link - https://cloud.google.com/bigquery/docs/loading-data-cloud-datastore
Run Code Online (Sandbox Code Playgroud)

3) 我收到错误消息“实体是意外的****”

 Here '****' represents collection name in firestore
Run Code Online (Sandbox Code Playgroud)

这是我在加载期间在 bigquery 中遇到的错误

ch_*_*ike 4

将 Firestore 导出加载到 BigQuery 时存在一些限制,这两个可能与您观察到的错误有关:

  • 为了正确加载 Cloud Firestore 导出,导出数据中的文档必须共享一致的架构。

  • 您的导出命令必须指定 collection-ids 过滤器。在未指定集合 ID 过滤器的情况下导出的数据无法加载到 BigQuery 中。

我还注意到您正在按照将数据存储导出加载到 BigQuery 的过程。您可能需要关注Firestore Exports to BigQuery,尽管它们非常相似。