GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — bigquery: remove automatic `insertId` generation & allow specifying raw format by stephenplusplus · Pull Request #1068 · googleapis/google-cloud-node Conversation
Contributor
Closes #1066 Breaking change included!
@vladmiller - Please take a look. I just wanted to change a few things (mostly style things) and also remove the default
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
stephenplusplus
added a commit
that referenced
this pull request
bigquery: remove automatic `insertId` generation & allow specifying raw format
|
There was an error while loading. Please reload this page.
|
@stephenplusplus I'm confused by this one. Why can't we allow control of the insert ID via overriding without keeping the auto-generation? The request in #1066 was about being able to manually specify an insert ID, so adding the The request in #1041 is about adding multiple of the same rows in parallel (aka, same timestamp, same data), so I can see how a hash wouldn't make sense there. What we're trying to control for is:
I'd argue that this is not for de-duping your data (aka, only inserting unique rows), and it is not for recovering after a client-side failure, but only about server errors and auto-retries. If you want uniqueness constraints or transactions to avoid client-side problems, you should use a different storage system or de-duplicate, save to GCS, and bulk load the data afterwards. Can we re-open the discussion about using a UUID-1 (or similar) to generate insert ID values when none are provided (and which are only used when we automatically retry a failed request) ? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sure, let's move the convo back to the now re-opened #1041. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
* fix!: mark v1beta1 client as deprecated (#937) * feat!: use QueryDocumentSnapshot in FirestoreDataConverter (#965) * deps: update to gts 2.x (#1013) * chore!: update settings for Node 10 (#1019) * deps: drop through2 (#1014) * feat: support BigInt (#1016) * fix: make update.sh work on Linux (#1043) * fix: only use BigInt in BigInt system test (#1044) * fix: make pbjs compile admin proto again (#1045) * Add BulkWriter (#1055) * docs: Add documentation for FirestoreDataConverter (#1059) * chore: enforce return types (#1065) * fix: add generic to Firestore.getAll() (#1066) * chore: remove internal WriteOp (#1067) * chore: add linter checks for it|describe.only (#1068) * fix: handle terminate in BulkWriter (#1070) * chore: run template copying last in synthtool (#1071) * feat: Firestore Bundles implementation (#1078) * feat: add support for set() with SetOptions when using FirestoreDataConverter (#1087) * feat: Add totalDocuments and totalBytes to bundle metadata. (#1085) * feat: Add totalDocuments and totalBytes to bundle metadata. * fix: Better comment * fix: Better testing. * fix: Improve metadata testing. * fix: incomplete expect in rate-limiter test (#1092) * Remove BatchWrite proto, fix conformance tests * chore: use public API types internally (#1100) * feat: add Partition and BatchWrite protos (#1110) * fix: remove GCF transaction fallback (#1112) * fix: add BulkWriter integration tests, java backport changes, delete fix (#1117) * chore: merge master (#1218) * chore: add eslint check for console.log statements (#1229) * fix: another attempt at fixing the flaky BulkWriter test (#1228) * Fix comment * Renames * Test fix * Fix unit tests Co-authored-by: Brian Chen <[email protected]> Co-authored-by: wu-hui <[email protected]>
* feat(signed-url): support list bucket (#1051) * refactor signed url logic into its own class * fix the test * refactor tests to test/signer.ts * npm run fix * chore: generate synth.metadata * allow bucket-operation signed url * remove unused types * support bucket operations * refactor signer to not use promisify * fix node-8 test * add test for generation parameter * test: add list bucket signed url system-test * npm run fix * fix bucket getSignedUrl docs * chore(deps): update dependency @types/mocha to v7 * fix: unhandled promise rejection warning in samples (#1056) * fix: unhandledPromiseRejectionWarning in samples * fix: lint issue * fix: lint issue Co-authored-by: Benjamin E. Coe <[email protected]> * docs(readme): log errors in sample * chore: skip img.shields.io in docs test Co-authored-by: Yoshi Automation Bot <[email protected]> Co-authored-by: WhiteSource Renovate <[email protected]> Co-authored-by: Lalji Kanjareeya <[email protected]> Co-authored-by: Benjamin E. Coe <[email protected]> Co-authored-by: Justin Beckwith <[email protected]> * test(signed-url): update conformance test json to conformance-test@9f134282 (#1066) * update conformance test json to conformance-test@9f134282 * parse updated conformance-test format * npm run fix * pass queryParameters to conformance test * conformance tests ignore query parameter ordering in URL * npm run fix * parse sha256 option * revert debug * fix(signed-url): trailing `/` after path before query params (#1068) * update conformance test json to conformance-test@9f134282 * parse updated conformance-test format * npm run fix * fix(signed-url): trailing `/` after path before query params * fix(signed-url): fix query parameter signing (#1069) * update conformance test json to conformance-test@9f134282 * parse updated conformance-test format * npm run fix * pass queryParameters to conformance test * conformance tests ignore query parameter ordering in URL * npm run fix * parse sha256 option * revert debug * fix(signed-url): include custom query parameters in signature calculation * query param wip * fix queryParam sorting * test: query params are sorted * remove unused imports * npm run fix * refactor * rename QueryParams to just Query * feat(signed-url): support virtual hosted style url (#1067) * update conformance test json to conformance-test@9f134282 * parse updated conformance-test format * npm run fix * vhost * unit tests * npm run fix * docs: document urlStyle option for Bucket * test: add system-test to exercise virtual-hosted url * pass queryParameters to conformance test * conformance tests ignore query parameter ordering in URL * npm run fix * parse sha256 option * revert debug * restyle option as virtualHostedStyle as a boolean * npm run fix * docs: virtualHostedStyle option defaults to false * docs: fix path style example * fix: resource path beginning with / * feat(signed-url): support SHA256 for signed payloads (#1070) * feat(signed-url): support SHA256 for signed payloads * add unit test * remove junk import * newline * document contentMd5 option * do not provide contentSha256 option, instead, detect user provided header * npm run fix * fix system-test * test: expand URLSigner test * fix(refactor): rename UrlSigner to URLSigner * localize URLSigner unit tests * address PR comments * npm run fix Co-authored-by: Yoshi Automation Bot <[email protected]> Co-authored-by: WhiteSource Renovate <[email protected]> Co-authored-by: Lalji Kanjareeya <[email protected]> Co-authored-by: Benjamin E. Coe <[email protected]> Co-authored-by: Justin Beckwith <[email protected]>
gcr.io/repo-automation-bots/owlbot-nodejs:latest@sha256:b94b09fb24bf804090b8cc60ee726ca161d5e5915151e417f8ef5d8bcfe73cbc
* feat(signed-url): support list bucket (googleapis#1051) * refactor signed url logic into its own class * fix the test * refactor tests to test/signer.ts * npm run fix * chore: generate synth.metadata * allow bucket-operation signed url * remove unused types * support bucket operations * refactor signer to not use promisify * fix node-8 test * add test for generation parameter * test: add list bucket signed url system-test * npm run fix * fix bucket getSignedUrl docs * chore(deps): update dependency @types/mocha to v7 * fix: unhandled promise rejection warning in samples (googleapis#1056) * fix: unhandledPromiseRejectionWarning in samples * fix: lint issue * fix: lint issue Co-authored-by: Benjamin E. Coe <[email protected]> * docs(readme): log errors in sample * chore: skip img.shields.io in docs test Co-authored-by: Yoshi Automation Bot <[email protected]> Co-authored-by: WhiteSource Renovate <[email protected]> Co-authored-by: Lalji Kanjareeya <[email protected]> Co-authored-by: Benjamin E. Coe <[email protected]> Co-authored-by: Justin Beckwith <[email protected]> * test(signed-url): update conformance test json to conformance-test@9f134282 (googleapis#1066) * update conformance test json to conformance-test@9f134282 * parse updated conformance-test format * npm run fix * pass queryParameters to conformance test * conformance tests ignore query parameter ordering in URL * npm run fix * parse sha256 option * revert debug * fix(signed-url): trailing `/` after path before query params (googleapis#1068) * update conformance test json to conformance-test@9f134282 * parse updated conformance-test format * npm run fix * fix(signed-url): trailing `/` after path before query params * fix(signed-url): fix query parameter signing (googleapis#1069) * update conformance test json to conformance-test@9f134282 * parse updated conformance-test format * npm run fix * pass queryParameters to conformance test * conformance tests ignore query parameter ordering in URL * npm run fix * parse sha256 option * revert debug * fix(signed-url): include custom query parameters in signature calculation * query param wip * fix queryParam sorting * test: query params are sorted * remove unused imports * npm run fix * refactor * rename QueryParams to just Query * feat(signed-url): support virtual hosted style url (googleapis#1067) * update conformance test json to conformance-test@9f134282 * parse updated conformance-test format * npm run fix * vhost * unit tests * npm run fix * docs: document urlStyle option for Bucket * test: add system-test to exercise virtual-hosted url * pass queryParameters to conformance test * conformance tests ignore query parameter ordering in URL * npm run fix * parse sha256 option * revert debug * restyle option as virtualHostedStyle as a boolean * npm run fix * docs: virtualHostedStyle option defaults to false * docs: fix path style example * fix: resource path beginning with / * feat(signed-url): support SHA256 for signed payloads (googleapis#1070) * feat(signed-url): support SHA256 for signed payloads * add unit test * remove junk import * newline * document contentMd5 option * do not provide contentSha256 option, instead, detect user provided header * npm run fix * fix system-test * test: expand URLSigner test * fix(refactor): rename UrlSigner to URLSigner * localize URLSigner unit tests * address PR comments * npm run fix Co-authored-by: Yoshi Automation Bot <[email protected]> Co-authored-by: WhiteSource Renovate <[email protected]> Co-authored-by: Lalji Kanjareeya <[email protected]> Co-authored-by: Benjamin E. Coe <[email protected]> Co-authored-by: Justin Beckwith <[email protected]>
* feat: send retry attempt header to ease debugging * style * lint
🤖 I have created a release *beep* *boop* --- ## [3.11.0](googleapis/nodejs-bigtable@v3.10.0...v3.11.0) (2022-04-13) ### Features * send retry attempt header to ease debugging ([#1068](googleapis/nodejs-bigtable#1068)) ([37f9b3c](googleapis/nodejs-bigtable@37f9b3c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
* feat: send retry attempt header to ease debugging * style * lint
🤖 I have created a release *beep* *boop* --- ## [3.11.0](googleapis/nodejs-bigtable@v3.10.0...v3.11.0) (2022-04-13) ### Features * send retry attempt header to ease debugging ([#1068](googleapis/nodejs-bigtable#1068)) ([37f9b3c](googleapis/nodejs-bigtable@37f9b3c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
* feat: send retry attempt header to ease debugging * style * lint
🤖 I have created a release *beep* *boop* --- ## [3.11.0](googleapis/nodejs-bigtable@v3.10.0...v3.11.0) (2022-04-13) ### Features * send retry attempt header to ease debugging ([#1068](googleapis/nodejs-bigtable#1068)) ([37f9b3c](googleapis/nodejs-bigtable@37f9b3c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
* feat: send retry attempt header to ease debugging * style * lint
🤖 I have created a release *beep* *boop* --- ## [3.11.0](googleapis/nodejs-bigtable@v3.10.0...v3.11.0) (2022-04-13) ### Features * send retry attempt header to ease debugging ([googleapis#1068](googleapis/nodejs-bigtable#1068)) ([37f9b3c](googleapis/nodejs-bigtable@37f9b3c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.