Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
6801faa
Update the SQL script used for generating latest snapshot.
sophie4869 Jul 21, 2021
4ace6a9
Change to GROUP BY document_name instead for selecting the latest tim…
sophie4869 Jul 21, 2021
e4cc060
gen-schema-view actually takes a latest view to generate the latest s…
sophie4869 Aug 4, 2021
00d7a02
test(firestore-bigquery-export): updated scripts in test
cabljac Nov 8, 2022
fde995b
fix(firestore-bigquery-export): update sql script
cabljac Nov 8, 2022
d677639
chore(firestore-bigquery-change-tracker): rename test
cabljac Nov 8, 2022
f0a0dee
test(firestore-bigquery-export): added new stress test for snapshots
cabljac Nov 9, 2022
5f5f2df
fix(firestore-bigquery-export): allow null timestamps
cabljac Nov 10, 2022
fc59a53
feat(firestoe-bigquery-export): added parameter for new snapshot quer…
cabljac Nov 10, 2022
f4fd58e
test(firestore-bigquery-export): start adding new tests
cabljac Nov 11, 2022
bef004d
test(firestore-bigquery-export): test update function on new query
cabljac Nov 11, 2022
c0d8148
test(firestore-bigquery-export): fix some edge cases
cabljac Nov 11, 2022
7c94905
fix: additional update checks
dackers86 Nov 11, 2022
97aea17
test(firestore-bigquery-export): add test comparing query results
cabljac Nov 14, 2022
dfb68ec
test(firestore-bigquery-export): fix tests comparing query snapshot r…
cabljac Nov 14, 2022
dfa7987
fix: updated new query syntax, tests and snapshot examples
dackers86 Nov 14, 2022
f86d883
fix: updated checks updating metadata
dackers86 Nov 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions firestore-bigquery-export/extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -338,3 +338,17 @@ params:
example: https://us-west1-my-project-id.cloudfunctions.net/myTransformFunction
type: string
required: false

- param: USE_NEW_SNAPSHOT_QUERY_SYNTAX
label: Use new query syntax for snapshots
description: >-
If enabled, snapshots will be generated with the new query syntax, which should be more performant, and avoid potential
resource limitations.
type: select
options:
- label: Yes
value: yes
- label: Noya
value: no
default: no
required: true
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ module.exports = {
},
},
preset: "ts-jest",
testMatch: ["**/src/__tests__/bigquery/*.test.ts"],
testMatch: ["**/src/__tests__/**/*.test.ts"],
testEnvironment: "node",
testTimeout: 120000,
testTimeout: 180000,
collectCoverage: true,
};
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"clean": "rimraf lib",
"compile": "tsc",
"test:local": "firebase ext:dev:emulators:exec ./node_modules/.bin/jest --test-params=./src/__tests__/emulator-params.env --project=extensions-testing --config=./src/__tests__/firebase.json",
"prepare": "npm run build"
"prepare": "npm run build",
"generate-stresstest-table": "bq query --project_id=extensions-testing --use_legacy_sql=false < ./src/__tests__/fixtures/sql/generateSnapshotStresstestTable.sql"

},
"files": [
"lib/*.js",
Expand Down
Loading