This repository was archived by the owner on Mar 23, 2026. It is now read-only.
fix: handle malformed backend responses for PolicyTag messages#522
Merged
stephaniewang526 merged 1 commit intogoogleapis:masterfrom Jul 10, 2020
Merged
Conversation
When you delete a policy tag from a column in BigQuery, rather than eliding the policyTag message entirely, it will return an empty message (with no name field). This change treats such responses as equivalent to no PolicyTag message being present.
Codecov Report
@@ Coverage Diff @@
## master #522 +/- ##
=========================================
Coverage 81.48% 81.49%
- Complexity 1225 1226 +1
=========================================
Files 77 77
Lines 6218 6220 +2
Branches 691 690 -1
=========================================
+ Hits 5067 5069 +2
Misses 792 792
Partials 359 359
Continue to review full report at Codecov.
|
stephaniewang526
approved these changes
Jul 10, 2020
gcf-merge-on-green bot
pushed a commit
that referenced
this pull request
Jul 10, 2020
🤖 I have created a release \*beep\* \*boop\* --- ### [1.116.6](https://www.github.com/googleapis/java-bigquery/compare/v1.116.5...v1.116.6) (2020-07-10) ### Bug Fixes * handle malformed backend responses. ([#522](https://www.github.com/googleapis/java-bigquery/issues/522)) ([64de23a](https://www.github.com/googleapis/java-bigquery/commit/64de23a95736ffaaae7a05e0fd2c6f5f8c5c3665)) ### Documentation * **samples:** add label dataset ([#526](https://www.github.com/googleapis/java-bigquery/issues/526)) ([d775818](https://www.github.com/googleapis/java-bigquery/commit/d775818bda5c3a9c310ce7747f575200ce72fd9d)) * **samples:** add label table ([#527](https://www.github.com/googleapis/java-bigquery/issues/527)) ([d7cf47d](https://www.github.com/googleapis/java-bigquery/commit/d7cf47d1a1f6eda47637e49983086d79ed1cd7ac)) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.3 ([#523](https://www.github.com/googleapis/java-bigquery/issues/523)) ([82341cb](https://www.github.com/googleapis/java-bigquery/commit/82341cbb12ad6f5e020b5ba15701f66f0cbbfa19)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please).
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
When you delete a policy tag from a column in BigQuery, rather than
eliding the policyTag message entirely, it will return an empty
message (with no names field). This change treats such responses
as equivalent to no PolicyTag message being present.
reported as internal issue: 160857208