Skip to content

Commit 3c3296d

Browse files
committed
fix(firestore-bigquery-export): remove multiple database support
1 parent 70f06fb commit 3c3296d

File tree

4 files changed

+3
-13
lines changed

4 files changed

+3
-13
lines changed

firestore-bigquery-export/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
fixed - medium npm vulnerabilities
44

5+
fixed - rollback broken multiple database parameter option
6+
57
## Version 0.1.50
68

79
fixed - fixed timestamp as a fieldname partitioning

firestore-bigquery-export/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ To install an extension, your project must be on the [Blaze (pay as you go) plan
124124

125125
* BigQuery Project ID: Override the default project for BigQuery instance. This can allow updates to be directed to to a BigQuery instance on another GCP project.
126126

127-
* Database ID: Override the default project Firestore database. Learn more about managing multiple Firestore databases [here](https://cloud.google.com/firestore/docs/manage-databases).
128-
129127
* Collection path: What is the path of the collection that you would like to export? You may use `{wildcard}` notation to match a subcollection of all documents in a collection (for example: `chatrooms/{chatid}/posts`). Parent Firestore Document IDs from `{wildcards}` can be returned in `path_params` as a JSON formatted string.
130128

131129
* Enable Wildcard Column field with Parent Firestore Document IDs: If enabled, creates a column containing a JSON object of all wildcard ids from a documents path.

firestore-bigquery-export/extension.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -189,16 +189,6 @@ params:
189189
default: ${PROJECT_ID}
190190
required: true
191191

192-
- param: DATABASE_ID
193-
label: Database ID
194-
description: >-
195-
Override the default project Firestore database. Learn more about managing
196-
multiple Firestore databases
197-
[here](https://cloud.google.com/firestore/docs/manage-databases).
198-
type: string
199-
default: (default)
200-
required: true
201-
202192
- param: COLLECTION_PATH
203193
label: Collection path
204194
description: >-

firestore-bigquery-export/functions/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function clustering(clusters: string | undefined) {
3333

3434
export default {
3535
bqProjectId: process.env.BIGQUERY_PROJECT_ID,
36-
databaseId: process.env.DATABASE_ID || "(default)",
36+
databaseId: "(default)",
3737
collectionPath: process.env.COLLECTION_PATH,
3838
datasetId: process.env.DATASET_ID,
3939
doBackfill: process.env.DO_BACKFILL === "yes",

0 commit comments

Comments
 (0)