Skip to content

Commit 845da17

Browse files
cleanup the name references to the import script
1 parent 09e3c5b commit 845da17

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

firestore-bigquery-export/guides/IMPORT_EXISTING_DOCUMENTS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ The `fs-bq-import-collection` script is for use with the official Firebase Exten
22

33
### Overview
44

5-
The import script (`fs-bq-import-collection`) can read all existing documents in a Cloud Firestore collection and insert them into the raw changelog table created by the Export Collections to BigQuery extension. The script adds a special changelog for each document with the operation of `IMPORT` and the timestamp of epoch. This ensures that any operation on an imported document supersedes the import record.
5+
The import script (`fs-bq-import-collection`) can read all existing documents in a Cloud Firestore collection and insert them into the raw changelog table created by the Export Collections to BigQuery extension. The import script adds a special changelog for each document with the operation of `IMPORT` and the timestamp of epoch. This ensures that any operation on an imported document supersedes the import record.
66

7-
You may pause and resume the script from the last batch at any point.
7+
You may pause and resume the import script from the last batch at any point.
88

99
#### Important notes
1010

11-
- You must run the script over the entire collection **_after_** installing the Export Collections to BigQuery extension; otherwise the writes to your database during the import might not be exported to the dataset.
11+
- You must run the import script over the entire collection **_after_** installing the Export Collections to BigQuery extension; otherwise the writes to your database during the import might not be exported to the dataset.
1212

1313
- The import script can take up to _O(collection size)_ time to finish. If your collection is large, you might want to consider [loading data from a Cloud Firestore export into BigQuery](https://cloud.google.com/bigquery/docs/loading-data-cloud-firestore).
1414

1515
- You will see redundant rows in your raw changelog table if either of the following happen:
1616

17-
- If document changes occur in the time between installing the extension and running this import script.
17+
- If document changes occur in the time between installing the extension and running the import script.
1818
- If you run the import script multiple times over the same collection.
1919

2020
### Run the script
@@ -27,7 +27,7 @@ The import script uses several values from your installation of the extension:
2727

2828
Run the import script using [`npx` (the Node Package Runner)](https://www.npmjs.com/package/npx) via `npm` (the Node Package Manager).
2929

30-
1. Make sure that you've installed the required tools to run the script:
30+
1. Make sure that you've installed the required tools to run the import script:
3131
* To access the `npm` command tools, you need to install [Node.js](https://www.nodejs.org/).
3232
* If you use `npm` v5.1 or earlier, you need to explicitly install `npx`. Run `npm install --global npx`.
3333

0 commit comments

Comments
 (0)