Script to load existing data from firestore to bigquery. It works for collections and subcollections.
This script is modified from https://github.com/firebase/extensions/blob/next/firestore-bigquery-export/scripts/import/src/index.ts#L188 . The script is modified by https://github.com/MattReidArnold .
The official script is not yet modified and PR is still not merged. So, i created this repo.
How to use these script? Follow this blog i created in medium. https://medium.com/@iampujan/exporting-collections-and-subcollections-from-firestore-to-bigquery-a82a4b52f602?sk=6c631fc7cebefb5e8eca9c1616e34365