fs-bq-import-collection failure: XXX_raw_changelog already exists
See original GitHub issue[REQUIRED] Step 2: Describe your configuration
- Extension name:
firestore-bigquery-export
(specifically:fs-bq-import-collection
) - Extension version:
@firebaseextensions/fs-bq-import-collection@0.1.6
- Configuration values (redact info where appropriate):
Cloud Functions locationDescription
us-central1
Collection pathDescription
keens
Dataset IDDescription
firestore_export
Table IDDescription
keens
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
- add
$ npx @firebaseextensions/fs-bq-import-collection
? What is your Firebase project ID? keen-hacks
? What is the path of the the Cloud Firestore Collection you would like to import from? (This may, or may not, be the same Collection for which you plan to mirror changes.) keens
? What is the ID of the BigQuery dataset that you would like to use? (A dataset will be created if it doesn't already exist) firestore_export
? What is the identifying prefix of the BigQuery table that you would like to import to? (A table will be created if one doesn't already exist) keens
? How many documents should the import stream into BigQuery at once? 300
Expected result
Exports data to bigquery.
Actual result
Importing data from Cloud Firestore Collection: keens, to BigQuery Dataset: firestore_export, Table: keens_raw_changelog
BigQuery dataset already exists: firestore_export
BigQuery table with name keens_raw_changelog already exists in dataset firestore_export!
View with id keens_raw_latest already exists in dataset firestore_export.
Error importing Collection to BigQuery: TypeError: Cannot read property 'constructor' of null
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OK, doing a little re-installing of node modules to force myself to have v1.1.6, things seem to work now, so I think this is fixed, thanks!
Here’s what I did:
(not sure that
npm install -g @firebaseextensions/firestore-bigquery-change-tracker
was needed)Maybe you need to release a new version of @firebaseextensions/fs-bq-import-collection in npm with the updated dependency so that the sub-dependency will get picked up?
(looking at less ~/.nvm/versions/node/v10.16.3/lib/node_modules/@firebaseextensions/fs-bq-import-collection/node_modules/@firebaseextensions/firestore-bigquery-change-tracker/package.json, I see it’s version 1.1.5)