GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — treat partial errors as callback(err)ors by stephenplusplus · Pull Request #1760 · googleapis/google-cloud-node

Conversation

@stephenplusplus

@stephenplusplus stephenplusplus commented Oct 31, 2016 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Fixes #1644

To Dos

  • Split apart common/util into a separate PR: common: create PartialFailureError #1764
  • BigQuery
    • Docs
    • Unit tests
    • System tests
  • Bigtable
    • Docs
    • Unit tests
    • System tests
  • Vision
    • Docs
    • Unit tests
    • System tests

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@stephenplusplus stephenplusplus added api: bigquery Issues related to the BigQuery API. don't merge api: bigtable Issues related to the Bigtable API. api: vision Issues related to the Cloud Vision API. labels Oct 31, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 31, 2016
@stephenplusplus

stephenplusplus commented Nov 1, 2016

Copy link
Copy Markdown
Contributor Author

@callmehiphop PTAL

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

callmehiphop
callmehiphop reviewed Nov 1, 2016
View reviewed changes
Comment thread packages/vision/src/index.js Outdated
.map(decorateAnnotations)
.filter(function(annotation) {
// Remove annotations that had errors.
return annotation;

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

callmehiphop
callmehiphop reviewed Nov 1, 2016
View reviewed changes
Comment thread packages/bigquery/src/table.js Outdated
* // recommendations on handling errors.
* // An API error or partial failure occurred.
*
* if (err.name === 'PartialFailureError') {

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@stephenplusplus stephenplusplus mentioned this pull request Nov 2, 2016
common: create PartialFailureError #1764
Merged
@stephenplusplus stephenplusplus added status: blocked Resolving the issue is dependent on other work. and removed don't merge labels Nov 2, 2016
@stephenplusplus
stephenplusplus force-pushed the spp--1644 branch 3 times, most recently from dc9c83b to 368cde6 Compare November 4, 2016 19:16
@stephenplusplus stephenplusplus mentioned this pull request Nov 4, 2016
common: add Operation object #1770
Merged
stephenplusplus added 7 commits November 7, 2016 13:40
@stephenplusplus
common: create PartialFailureError
e286754
@stephenplusplus
remove error builder functions
28b8813
@stephenplusplus
treat partial errors as callback(err)ors
c62f93f
@stephenplusplus
add tests for vision
e14bbc7
@stephenplusplus
vision: add docs
47ab270
@stephenplusplus
bigquery: add tests
de9c247
@stephenplusplus
bigtable: tests & docs
8f825c3
@stephenplusplus stephenplusplus removed the status: blocked Resolving the issue is dependent on other work. label Nov 7, 2016
@stephenplusplus
stephenplusplus force-pushed the spp--1644 branch from 368cde6 to bf50d79 Compare November 7, 2016 18:45
@stephenplusplus
update google-cloud/common
8f0600d
@stephenplusplus
stephenplusplus force-pushed the spp--1644 branch from bf50d79 to 8f0600d Compare November 7, 2016 18:46
stephenplusplus added 2 commits November 7, 2016 13:56
@stephenplusplus
lint
b38cb75
@stephenplusplus
vision: cache original class
9978b93
@stephenplusplus

stephenplusplus commented Nov 7, 2016

Copy link
Copy Markdown
Contributor Author

Ready for a final sign off, @callmehiphop!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

callmehiphop
callmehiphop reviewed Nov 7, 2016
View reviewed changes
Comment thread packages/bigquery/src/table.js Outdated
@@ -1015,18 +1015,19 @@ Table.prototype.import = function(source, metadata, callback) {
* //-
* function insertHandler(err, insertErrors, apiResponse) {

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/bigquery/src/table.js Outdated
* // recommendations on handling errors.
* // An API error or partial failure occurred.
*
* if (err.name === 'PartialFailureError') {

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/bigquery/src/table.js Outdated
*
* // err.errors (object[]):
* // err.errors[].row (original row object passed to `insert`)
* // err.errors[].errors[].reason

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/bigquery/src/table.js Outdated
* // err.errors[].errors[].reason
* // err.errors[].errors[].message
*
* // See https://developers.google.com/bigquery/troubleshooting-errors for

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/bigquery/system-test/bigquery.js Outdated
it('should return partial errors', function(done) {
var data = {
name: 'dave',
breed: 'british shorthair',

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/bigtable/src/table.js
* //-
* var callback = function(err, mutationErrors) {
* var callback = function(err) {
* if (err) {

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/vision/src/index.js Outdated
* if (detections.faces.errors.length > 0) {
* // Errors occurred while trying to use this image for a face annotation.
* if (err && err.name === 'PartialFailureError') {
* err.errors = [

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@stephenplusplus
docs lint
cfb5d35
@stephenplusplus stephenplusplus mentioned this pull request Nov 7, 2016
expose failed operations as callback(err) #1644
Closed
@stephenplusplus
doc clarifications
4b1d5cf
@stephenplusplus

stephenplusplus commented Nov 7, 2016

Copy link
Copy Markdown
Contributor Author

PTAL!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

callmehiphop
callmehiphop reviewed Nov 7, 2016
View reviewed changes
Comment thread packages/bigquery/system-test/bigquery.js
it('should return partial errors', function(done) {
var data = {
name: 'dave',
breed: 'british husky',

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@callmehiphop
callmehiphop merged commit b6270e5 into googleapis:master Nov 7, 2016
@sofisl sofisl mentioned this pull request Jan 17, 2023
migrate code from googleapis/nodejs-vision #3860
Merged
4 tasks
sofisl pushed a commit that referenced this pull request Jan 17, 2023
@stephenplusplus @callmehiphop
treat partial errors as callback(err)ors (#1760)
1e48eb0
sofisl pushed a commit that referenced this pull request Feb 3, 2026
@stephenplusplus @callmehiphop
treat partial errors as callback(err)ors (#1760)
da51970
@sofisl sofisl mentioned this pull request Feb 3, 2026
migrate code from googleapis/nodejs-bigquery #7111
Merged
4 tasks
sofisl pushed a commit that referenced this pull request Feb 25, 2026
@ddelgrosso1
test: reduce retry delay multiplier to reduce test time (#1760)
d40f403
* test: reduce retry delay multiplier to reduce test time

* linter fix
sofisl pushed a commit that referenced this pull request Mar 17, 2026
@d-goog
test: Log Error On Error (#1760)
f6e1c6b
* test: Log Error On Error

* chore: type fix

* refactor: revert accidental changes from another branch
sofisl added a commit that referenced this pull request Mar 17, 2026
@renovate-bot @sofisl
chore(deps): update dependency jsdoc-fresh to v4 (#1760)
30cc924
Co-authored-by: sofisl <[email protected]>
thiyaguk09 pushed a commit to thiyaguk09/google-cloud-node-fork that referenced this pull request Mar 18, 2026
@ddelgrosso1
test: reduce retry delay multiplier to reduce test time (googleapis#1760
db3df86
)

* test: reduce retry delay multiplier to reduce test time

* linter fix
GautamSharda pushed a commit that referenced this pull request Mar 23, 2026
@stephenplusplus @callmehiphop
treat partial errors as callback(err)ors (#1760)
fd4bc7d
@GautamSharda GautamSharda mentioned this pull request Mar 23, 2026
migrate code from googleapis/nodejs-bigtable #7852
Merged
4 tasks
GautamSharda pushed a commit that referenced this pull request Mar 25, 2026
@stephenplusplus @GautamSharda
treat partial errors as callback(err)ors (#1760)
c5d93fe
shivanee-p pushed a commit that referenced this pull request Mar 27, 2026
@stephenplusplus @shivanee-p
treat partial errors as callback(err)ors (#1760)
964260b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@callmehiphop callmehiphop callmehiphop left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigquery Issues related to the BigQuery API. api: bigtable Issues related to the Bigtable API. api: vision Issues related to the Cloud Vision API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@stephenplusplus @callmehiphop @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.