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.

Error when running fs-bq-import-collection. PartialFailureError

See original GitHub issue

[REQUIRED] Step 2: Describe your configuration

  • Extension name: ** fs-bq-import-collection **
  • Extension version: ** N/A **
  • Configuration values (redact info where appropriate):
    • ** project: pats-production **
    • ** collection: oilworx-customers **
    • ** dataset: firestore_export **
    • ** table_prefix: oilworx_customers **

[REQUIRED] Step 3: Describe the problem

When running npx @firebaseextensions/fs-bq-import-collection i get an error and no rows are imported. I tried with several collections and projects and none of them is working. This script worked for me a week ago.

Steps to reproduce:

What happened? How can we make the problem occur? This could be a description, log/console output, etc.

Importing data from Cloud Firestore Collection: oilworx-customers, to BigQuery Dataset: firestore_export, Table: oilworx_customers_raw_changelog
BigQuery dataset already exists: firestore_export
BigQuery table with name oilworx_customers_raw_changelog already exists in dataset firestore_export!
View with id oilworx_customers_raw_latest already exists in dataset firestore_export.
Inserting 100 row(s) of data into BigQuery
Error importing Collection to BigQuery: PartialFailureError
Expected result

Documents imported to bigquery

Actual result

No documents were imported to bigquery

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:15
  • Comments:31 (10 by maintainers)

github_iconTop GitHub Comments

10reactions
sourcec0decommented, Feb 24, 2020

@joaqcid this was a big help!!!

git clone git@github.com:joaqcid/extensions.git
cd extensions
git checkout run-manual-import
cd firestore-bigquery-export/firestore-bigquery-change-tracker
npm i
cd ../scripts/import
npm i
npm run import
6reactions
joaqcidcommented, Feb 10, 2020

hi all,

i creted a branch “run-manual-import” on my fork for to run it manually, https://github.com/joaqcid/extensions

from there, you need to

  • npm install in firestore-bigquery-change-tracker folder (dont mind the errors)
  • npm install in scripts/import folder
  • npm run import

hope this helps

Read more comments on GitHub >

github_iconTop Results From Across the Web

PartialFailureError when inserting data from pubsub to bigquery
Problem: it is pretty hard to understand what went wrong (error message ... your value by 1000 or simply send ISO string using...
Read more >
Class PartialFailureError (4.1.0) | Node.js client library
constructor(errors: GoogleInnerError[], rpcError?: ServiceError | null);. Constructs a new instance of the PartialFailureError class.
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