question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

firestore-bigquery-export: Include path parameters as columns directly

See original GitHub issue

This feature request is for extension: firestore-bigquery-export

What feature would you like to see?

When streaming data from firestore to BigQuery, the tables include both the document_name and the document_id. However, data from document_ids at higher levels is not directly accessible and has to parsed from the document_name column. I think it would increase usability if the wilcard parameters could be directly included as separate columns, either directly in the streaming cloud function, or at least in the _latest or _schema views.

Ideally, if one runs npx firebase ext:install firebase/firestore-bigquery-export with COLLECTION_PATH=my-collection/{collection_id}/subcollection, a column named collection_id should be included in the raw_changelog table.

How would you use it?

I am trying to split operational and analytic workloads between firestore and BigQuery. As subcollections as used in firestore to group related data, that information is required for analytics as well, were the entire collection group is merged into one table. Having the grouping information directly available as a column, instead of having to parse it from a string would make things simpler and more robust.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
i14hcommented, Jan 25, 2022

@JarnoRFB we’re thinking of different ways to implements this. We’ll keep you posted.

0reactions
dackers86commented, Mar 2, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Loading data from Firestore exports | BigQuery - Google Cloud
BigQuery supports loading data from Firestore exports created using the Firestore managed import and export service. The managed import and export service ...
Read more >
Use the Cloud Firestore REST API - Firebase
A request parameter includes an invalid value. See the message field in the error response for the invalid value. Do not retry without...
Read more >
Stream Collections to BigQuery - Extensions Marketplace
Use this extension to export the documents in a Cloud Firestore collection to BigQuery. Exports are realtime and incremental, so the data in...
Read more >
How to configure the “Export Collections to BigQuery ...
With the “Export Collections to BigQuery” extension, you can send realtime, incremental updates from any Firestore collection to BigQuery. It ...
Read more >
Firestore to BigQuery via Firebase Extensions - Invertase
Query data via big query; Present your data all fancy in Google Data Studio. Firestore-BigQuery-Export. Why an extension? Manually importing ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found